angularjs templates added to view generator