ng-learn :: Controller function scoping