refactor
update to angular 0.12.0