yish91/Proj — pull request #1 by lamkeewei (2014-08-01 10:48:43+00:00)
Title: Fixed

Bro your way of declaring controllers are wrong. Follow the amended one.

Also, I think you are confused about modules

Having:
```javascript
angular.module('myApp', ['user'])
```

Does not mean you can do this:
```javascript
app.controller('UserController', ['$scope', 'user', function($scope, user){
// blah blah
}]);
```

The two users are not the same. Modules are used to group controllers/directives/factory/services together. In turn you inject controllers/directives/factory/services into other controllers/directives/factory/services.