added and configured requirejs with angularjs