declares ng-controller on div element