AngularJS working with RequireJS through AngularAMD