hooks in angularjs controllers