Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AngularDart exceptions when served from non root url (localhost:8080/myApp/ vs localhost:8080/) #1601
Deploying an angular app as a statically served set of files from anywhere except the root url (http://host/ vs http://host/appname/) causes AngularDart to spew exceptions both when run from Dartium & from dart2js - both in debug and release modes).
The application uses:
None of the listed exceptions occur if the application is run from the root URL (in all modes, including dart2js).
I noticed that 'Missing getter: (o) => o.myapp' the part o.myapp will always match the folder name so:
Even with the exceptions:
The following exceptions are raised in case of my app:
Here is a quick overview of the angular transformer - https://github.com/angular/angular.dart/wiki/The-Angular-Transformer.
Sounds like the expression extractor transformer is not successful for you. Do you see errors of the type
Try rewriting your templateUrls to package absolute ones like this