AngularJS + RequireJS [Error Injection]

1

Introduction

I'm developing a structure using AngularJS and RequireJS . I'm starting to study RequireJS and I researched a lot about it, but I still have not gotten any clear of it using AngularJS .

Github Code

Problem [Solved]

I'm having a problem with my dependency on the file app/assets/app.js on line 2. Removing the dependency of the 'opaApp.application' angle works perfectly. If they have any criticism to improve this structure can speak.

Solution

I changed from define to require into app/assets/js/modules/Application/index.js

Problem 2 [Update]

Now with the problem of dependency solved, my project sometimes works the call of the controller and sometimes only hangs before. I kindly ask you to clone the repository and test it and see that as vezes it will work.

Problem 2 [Update 2]

The problem is only in google-chrome. in firefox it swirls round.

    
asked by anonymous 17.06.2015 / 05:57

0 answers