Tagged Questions
1
vote
1answer
122 views
AngularDart routes: Optional parameter
Is it possible to setup optional route parameters without setting up a secondary route? I want to set up a very simple REST type interface with a path defined as such:
reports/:reportType/:reportId
...
1
vote
1answer
66 views
How to resolve angular.dart routes?
How to resolve angular.dart routes? I want to do something similar to:
angular.module('ngRouteExample', ['ngRoute'])
.config(function($routeProvider, $locationProvider) {
$routeProvider
...
2
votes
1answer
55 views
Back button isn't working with a hierarchal route
I am using AngularDart and I am trying to set up a route so that I can get notified when the user clicks back from /user/1 to /user.
I am only getting the print message out when I go from /user -> ...
1
vote
1answer
80 views
AngularDart: “logical pages” and views are 1-to-1 or 1-to-many or what?
What is the relationship between an app's "logical pages" and views in AngularDart (or JS)?
For example, in the context of the AngularDart tutorial Recipe Book example, I originally considered "view ...
3
votes
2answers
122 views
Angular Dart: matching rules for route path - implicit suffix wildcard?
Consider (excerpt from the AngularDart tutorial):
router.root
..addRoute(
name: 'add',
path: '/add',
enter: view('view/addRecipe.html'))
How is a URL matched with such a path? ...
2
votes
1answer
118 views
AngularDart: Namespace of route names hierarchical too?
Consider the following initialization of hierarchical routes (excerpt from the AngularDart tutorial):
router.root
..addRoute(
name: 'add',
path: '/add',
enter: ...
5
votes
1answer
156 views
Modular route design in Angular Dart to support independently developed feature sets?
[Updated to focus question]. AngularDart nicely supports modular app design in many respects. Is this also the case for route design? I.e.,
Question: Can an app have more than one RouteInitializer? ...