updated to angular 0.10

refactored name of controller