function findByNameAndCate(searchQuery) {
            return pageService.find([
                {
                    name: searchQuery,
                    category: ctrl.slbCate ? ctrl.slbCate.category : ''
                }
            ]).then(function (rs) {
                return rs;
            })
        }
//Find page by page's name and category
Find page by page's name and category
Find page by page ' s name and category
function findByNameAndCate(searchQuery) {
            return pageService.find([
                {
                    name: searchQuery,
                    category: ctrl.slbCate ? ctrl.slbCate.category : ''
                }
            ]).then(function (rs) {
                return rs;
            })
        }
function findByNameAndCate ( searchQuery ) { return pageService . find ( [ { name : searchQuery , category : ctrl . slbCate ? ctrl . slbCate . category : '' } ] ) . then ( function ( rs ) { return rs ; } ) }
Find page by page's name and category
Find page by page ' s name and category