I'm in need of some pointers in my landingPage-builder project. (i'm 
currently stuck!).

The main issue is as follows: Each element in the template (like the h1 and 
the paragraph) has attached a directive. What I need to get the directive 
to do is: create a template of HTML with some other directives attached 
like ng-click, ng-options etc, keep the bindings to the model intact 
(currently far away from working), update the model when changed.

I'm not trying to append to, or replace the element the directive is on, 
but make a html-template and inserting it into the DOM (almost like another 
view) so that the model on the left can be updated from the "settings" box 
on the right.

The project can be viewed here:
http://193.107.29.196/~stian123/landingPageV3/app/#/pagebuilder/2

You may need Allow-Control-Allow-Origin for Chrome: 
https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi/related

I'm a bit confused about $compile and doesn't really know when I need to 
use this part of the directives api.

Any suggestions? Thank you!

-- 
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/groups/opt_out.

Reply via email to