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
0
votes
0answers
7 views
Angularjs: validation not working when control is based on directive
Being rather new to Angularjs, I am creating textbox-label combinations in Angularjs using directives. It's working very well, but I can't get validation to work. Here is a stripped-down example.
...
0
votes
0answers
9 views
Angular UI map, info window is not open
I'm using angular UI-map module
The marker is added on the map but when I click it, it shows
Cannot call method 'open' of undefined
and I tried to just call alert and it work. Any idea?
In html
...
0
votes
1answer
11 views
Angular UI Select2 initialization fails
I'm failing to get Angular UI Select2 module to work. Simplest example I could think of is below, derived from AngularJS tutorial.
Directions on Github project ...
2
votes
1answer
18 views
Angular: $scope and template breaking after using a $resource
I'm not building an actual application yet, but I'm trying to work out HTTP requests with Angular.
Here is my tiny (and bad) HTML template:
<div class="row-fluid" ng-controller="SearchCtrl">
...
0
votes
0answers
22 views
Angular $routeParams is blank
I have a really simple Angular app that I've distilled to the following:
var napp = angular.module('Napp',['ngResource']);
var CompanyCtrl = function($scope, $routeParams, $location, $resource) {
...
0
votes
0answers
16 views
Initialize stylesheets with service and $http in Angular JS
I've been trying to figure out how to dynamically load CSS stylesheets into an app view.
So I have this line in the {head} of the html:
<link data-ng-repeat='stylesheet in viewStylesheets' ...
0
votes
0answers
13 views
D3 with Backbone / D3 with Angular?
I'm working on a medium sized application that is going to include a lot of D3 charts / interactions in it. I'm wondering if anyone has tried to use either Backbone or Angular with D3, and if so, ...
0
votes
0answers
18 views
Angular unit tests: Browser is not defined?
I'm running unit tests on a controller in an angular app. My test so far is:
describe('Controller', function () {
var scope, ctrl;
beforeEach(module('myApp'));
beforeEach(inject(function ...
0
votes
0answers
23 views
AngularJS directives and observe attributes
I have the directive that used under ng-repeat. And everithing works fine, before I use this directive OUTSIDE the ng-repeat: {{placeholders}} aren`t data filled.
Please help me find what the ...
0
votes
0answers
8 views
Can't bind html with angularJS and tinymce
so the goal is to edit some text with tinymce, persist it and display it in a div using angularJS with the same html, style formating.
I'm using tinymce 3.5.8 with angularUI directive, I've managed ...
0
votes
1answer
11 views
Changing ng-hide based on variable value in angular.js
I am a newb to angular.js and have inherited code. There is a dataset (customerType) that displays using ng-repeat. There are 3 table rows that I want to display only if the customerType.type is ...
0
votes
0answers
8 views
iPad compatible sort-able lists
So we are writing a web app that needs drag and drop orderable (sortable) list functionality. Right now we are using Angular and not jQuery. For whatever reason I expected there to be an opensource ...
0
votes
0answers
10 views
angularjs / requirejs boilerplate and custom directive problems
I'm playing around with Angular and the awesome angular-requirejs-boilerplate-seed, which is great. I can't seem to figure out the proper way to create a custum directive module though, so any help ...
0
votes
1answer
28 views
AngularJS Issue in ng-repeat data binding
Scenario
I have a repeater using ng-repeat which binds to a array of dynamic/ run time computed values. ( i.e, my array contains fields like Brokerage: ($scope.BuyValue() + $scope.SellValue())* ...
0
votes
0answers
17 views
AngularJS - Switching route and controller causes “undefined is not a function at new ngDirective.controller”
I have an experimental site - http://beta.softwareparadise.co.uk/ build with angularJS. When the user navigates to the Products via the menu he gets this error:
TypeError: undefined is not a function
...