bower install underscore.string --save
Using $rootScope.user instead of $rootScope.isLogged.
*.sublime-project and *.sublime-workspace >> .gitignore
Separate simple-auth to individual file.
Doesn't need ui.keypress.
ignore vim temp files and .tags in vcs
Change the method of authentication.
Put auth to MainCtrl, but route authen have yet implement… :p
Change the name of login function to 'signIn'.
move signOut function from ResourcesCtrl to Auth of factory.
Add admin condition to determine user is admin or not.
API '/api/sessions/check' is deprecated, now you should create session to check the current state.

try post to '/api/sessions'...
Remove submitNewSession function, using signIn of the Auth factory.
chore: remove typo code...
登入成功後關閉 modal
登入後可以提交新的 resource
刪除開發用的 console.log 程式碼
註冊成功時，直接登入
刪除被淘汰的 function，喔耶！
用一個 SignUpCtrl 來控制註冊頁面的邏輯