Hi guys,

I've been studying Angular for the last couple of months and managed to put 
together some simple Single Page Apps but now I'm about to embark on a much 
larger project and I can't quite get to grips with it.

I'm trying to create a mapping app which allows the user to plan and store 
routes which can be retrieved from a web service and displayed on a map.

My first attempt works pretty well at creating and saving the data 
associated with the map but I can't get anywhere when it comes to passing 
data to the map directive.

I've divided the workspace up into states containing views with includes 
but I'm not sure what should be the 'root' scope. Should the main 
controller be the 'Map Routes' handler and all the others nested to inherit 
this?

Should my UI controls (such as a set of drawing tools be nested or can I 
somehow pass the scope along? 

I've organised the different sets of functionality into modules which are 
injected into the main app module for scaleability and I'm using the 
excellent Openlayers Angular Directive 
<https://github.com/tombatossals/angular-openlayers-directive> by 
tombatossals <https://github.com/tombatossals> but it doesn't include any 
examples of this type of functionality; I'm assuming that this will work 
with my Map Routes as the main scope object but I'd appreciate any pointers 
that anyone might have.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to