Reworked body ng-controller