Tagged Questions
0
votes
0answers
50 views
Recompile directive template in AngularJS
I'm trying to add authentication capabilities to my app by providing a service auth with login and logout methods and a loggedIn property (once I get it to work, this will actually be the user object, ...
0
votes
0answers
95 views
angularjs directive for inner html element not working
I am using angular directive for implementing iScroll in my app.
<div id="videolist" >
------------
------
<div id="videoReviewsWrap" >
<ul ...
1
vote
1answer
74 views
Angular: Building a directive and remove attribute from root element
Is it possible to do something like this:
<field:text id="foo" label="Foo Label" model="model.foo" placeholder="foo" />
which would be compiled to:
<div class="control-group">
...
0
votes
1answer
78 views
How can I use ng-repeat and a previously-declared function within the template of an AngularJS directive?
Using AngularJS I'm attempting to create a directive to templatize questions in a form. For a particular type of question, I want to create radio buttons for each number within a certain range. I ...
0
votes
2answers
205 views
In AngularJS, how do I use a directive to create a template with changing variable names?
I'm creating a questionnaire form using AngularJS, and I'm templatizing the different types of questions I have to keep my HTML lightweight.
HTML:
<qtnyesno qtn-variable="testVar">This is a ...
0
votes
1answer
142 views
Angular's template with external js libraries
I have made element directive, which works with template through templateUrl parameter. This template contains fileupload input, which needs about 8 external js libraries (jquery fileupload plugin). ...