Tagged Questions
1
vote
0answers
293 views
Karma Runner > Loading bootstrap.js before angular and angular-mocks throws exception
I have an angularjs app with some directives which make use of jquery and bootstrap components. So, in order to test the directives, I have defined the following order of files in karma.unit.conf.js:
...
1
vote
1answer
79 views
Trying to wrap angular directive in another directive
I'm trying to wrap a directive in another directive, and am having an issue. For example, using the UI Bootstrap tabs and pane directive:
I want to turn something like:
<tabs>
<pane ...
0
votes
2answers
340 views
How do I implement the bootstrap navbar active class with Angular JS
If I have a navbar in bootstrap with the items
Home | About | Contact
How do I set the active class for each menu item when they are active? That is, how can I set class="active" when the angular ...
0
votes
2answers
85 views
Text enter in one text box gets populated in another
Here is a part of my html code for angularjs app
<input type="text" class="input-xlarge" id="user_name" ng-model="myModel.text"
name="user_name" rel="popover" data-content="Enter your ...
0
votes
2answers
76 views
Using bootstrap-datetime picker with AngularJS
My project needs datetime so I found (Meridian Format in) bootstrap-datetimepicker which seems pretty good, but I am not able to use it
all I did in my code is
<div class="control-group">
...
0
votes
1answer
34 views
Angular element wrapper directive
Here is a code snippet we usually see in twitter boostrap forms:
<div class="control-group">
<label class="control-label" for="email">Enter Email</label>
<div ...
0
votes
2answers
277 views
Closing Twitter Bootstrap Modal From Angular Controller
I have a modal window that I use to present a form to users. They enter the information and then press a button the has an ng-click. The server processes the request and sends back a response. When ...
0
votes
1answer
90 views
AngularStrap typeahead with object types
I'm using angular.js/angularstrap to fetch a list of tuples in the format [{'name': 'name1', 'code': 'code1'}, {'name': 'name2', 'code': 'code2'] from a remote source. Now, it would be really nice to ...
0
votes
1answer
130 views
AngularJs Scope, variable value get changed
I am totally new to AngularJs, i have taken tutorials, I had been stuck from last 5 hours on following problem,
I am using twitterbootstrap and by modal i meant bootstrap modal
It show me the modal ...
0
votes
1answer
78 views
Unable to set default text box values
Here is my html code of angularjs app
<input type="text" class="input-xlarge" id="user_name" ng-model="myModel.text1"
name="user_name" rel="popover" data-content="Enter your first and last ...