Template for applications based on angularjs and requirejs