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.

learn more… | top users | synonyms (1)

0
votes
0answers
13 views

How to reload a page using Angularjs?

I have a link. When user will click in this link, then the page will be reloaded. I did it by the following way...... Html <div data-ng-hide="backHide" class="offset6 pull-right"> <a ...
0
votes
3answers
15 views

AngularJS: Communication between directives

I'm writing a directive which creates an mp3/audio player. The issue is that you can have many audio players in one page. What I would like to do is when one is playing and you start an other, that ...
0
votes
1answer
16 views

AngularJs UI-Router Nested states with side-by-side views

I've got an AngularJS project using ui-router where we've setup a state with two side-by-side views: $stateProvider .state('side-by-side', {url: '/side-by-side', views: { 'listView': { ...
1
vote
1answer
20 views

Angular.js rewrite ngShow function to directive

I'm looking to change the functionality defined in the ng-show directive I have on the form fields to display issues with a form field. For example: <span class="help-inline" ...
0
votes
0answers
9 views

Restangulajs service testing

Should i create my services then im using Restangular? Im ask question because im don't know how test my app. If i will test my app like in restangular/test folder on github then its mean that i will ...
0
votes
1answer
14 views

angularjs: events not get delivered to controller which may not live at that time

I think this must be a very common problem, let's say the routes like $routeProvider .when('/producer', { templateUrl: 'ui/producer.html', controller: 'ProducerCtrl' ...
0
votes
1answer
27 views

How to use AngularJS to build javascript widgets for public use?

I'm trying to build a JavaScript widget that will allow webmasters to just cut and paste a few lines of code to display some functionality and UI on their site. I've seen a good example of doing this ...
0
votes
2answers
19 views

Could angularjs map a model into a “virtual model” with a filter?

there's two model I put into Angular js // full device list $scope.devices = [{id:1, on:true}, {id:2, on:false}, {id:3, on:true}]; // devices with on == true $scope.devicesOn = ...
0
votes
0answers
14 views

AngularJS - How to write unit test case for ng-init directive?

I have ng-init set to call a function init in my controller scope. <div ng-init="init('start')" ng-controller="ProgressController"></div> My test suite is as below. describe("Progress ...
0
votes
1answer
24 views

Edit Mode inside Angular ng-repeat

I have a requirement to implement an editable list for a project I am working on. When you click on an item it changes to an edit state that has a bunch of options related to the item you clicked on. ...
0
votes
0answers
22 views

What's the roadmap for rewriting a Ruby on Rails app into Node.js/Sequelize/Express/Angular?

I am rewriting a fairly basic RoR app into a MySQL/Node/Sequelize/Express/Angular app. We have had success: 1. Mapping over the db schema into a Sequelize model definition. 2. Getting Angular to bind ...
0
votes
0answers
19 views

What is the best way to fallback to the html5 input widgets on mobile, and using widget libs on desktops?

I have a application written in Django and my front-end uses AngularJS. I'm making the application responsive; but I have some input widgets that don't play well on mobile screens (ex: datepicker, ...
0
votes
0answers
20 views

AngularJS directive discoverability in templates

I'm rather impressed with AngularJS, but one of a few things that is bothering me is that it isn't as easy as some other frameworks to discover the linkages between code and templates. For example, a ...
0
votes
0answers
16 views

AngularJS ng-click inside of Google Maps InfoWindow

Following this issue: AngularJS ng-include inside of Google Maps InfoWindow? The solution provided working great, but I found one issue when adding ng-click into the template, it doesn't get ...
0
votes
1answer
19 views

Getting $Scope in angular.module.controller

This is a noobie question: I am playing with the Angular seed app and am trying to write a controller but am having no luck getting access to $scope (and any other dependency). ...

15 30 50 per page