AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Controller (MVC) capability, reduce the amount of JavaScript needed to make web applications functional. These type of apps are also known as Single-Page Applications
9
votes
2answers
179 views
+200
How can I set a form contained inside a ng-include to be prestine?
I have the following code:
<div modal="modal.shouldBeOpen" close="close()" options="opts">
<div class="modal-body">
<form novalidate name="itemForm" style="margin-bottom: ...
4
votes
2answers
78 views
+50
Using eventjs with angularjs not working
Greetings Overflowers,
Using angularjs bind function to register event handlers on elements does not work when including eventjs script!
I was under the impression that eventjs will replace default ...
2
votes
5answers
81 views
+100
AngularJS: How to set a controller property from a directive that uses a child scope?
LIVE DEMO
Consider the following spinner-click directive:
Directive Use:
<button class="btn btn-mini"
ng-class="{'btn-warning': person.active, disabled: !person.active}"
...
0
votes
2answers
57 views
+50
Breaking a form between multiple tabs in angular breaks validation
I have an angular form spitted between several tabs with angular UI directive.
<form name="campaignForm" class="form-horizontal" novalidate >
<input type="text" name="title" ...
0
votes
1answer
52 views
+100
angularjs ngrepeat insert batch
Is it just me or does ng-repeat DOM inserts not batch. As we all know DOM manipulation is slow and operations should be batched for performance. When using ng-repeat on a collection it should create ...
1
vote
0answers
91 views
+50
dynamic provider options through app config AngularJS
I have provider modules that accept configurations like:
angular.module('app', ['search']).
config(['$searchProvider', function($searchProvider) {
$searchProvider.options({
...
0
votes
0answers
13 views
+50
How do you mock directives to enable unit testing of higher level directive?
In our app we have several layers of nested directives. I'm trying to write some unit tests for the top level directives. I've mocked in stuff that the directive itself needs, but now I'm running into ...