Angular JS boilerplate