Refactoring of Util to validate input Object
Lessons pagination (begin)

create a pager (using angular-ui) to call rest service with pagination
logic.
To complete with event management to show loading and unit test
patch to set default values of service when null
set detail error console message for $state mng
Lessons pagination flow through $state