HabitRPG/habitrpg — pull request #4112 by betaveros (2014-10-04 12:26:40+00:00)
Title: Notification for Unallocated Attribute Points (fixes #4109)

Adds a notification when a player has unallocated attribute points. In addition to checking for unallocated attribute points, it checks the same condition used to determine whether to display the section on attribute points in the Stats & Achievements page.

To facilitate this, some of the logic conditions in the original notification code were refactored out into several controller methods in authCtrl.js. (I basically learned Angular yesterday, so I don't know if this arrangement makes sense, but it seems to work.)
![unallocated-1](https://cloud.githubusercontent.com/assets/3482833/4515512/3a2dc940-4bc1-11e4-9369-36e493417810.png)
![unallocated-2](https://cloud.githubusercontent.com/assets/3482833/4515513/3a2ebada-4bc1-11e4-9e96-b0c11bd4d5a3.png)