No $scope in controller
Fixed junit testing