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
4 views
How to test angular application using angular-mock.js in maven-jasmine
I'm new to maven and jasmine, and I have a problem setting up maven to run unit tests on an angular application. I get into trouble as soon as I add angular-mocks.js to the test/javascript/lib folder.
...
1
vote
1answer
20 views
AngularJS Dynamic loading a controller
I read a lot about lazzy loading, but I am facing a problem when using $routeProvider.
My goal is to load a javascript file which contains a controller and add a route to this controller which has ...
1
vote
1answer
12 views
AngularJS - Model not updating on selection of radio button generated by ng-repeat
I am generating a bunch of radio buttons using ng-repeat, and then trying to update a model when one of them is selected. This doesn't appear to be working.
The same code markup works just fine when ...
0
votes
0answers
9 views
Does $http work in phonegap?
I'm using angular-phonegap-seed to write a mobile app, and was wondering if there were any known issues with using $http.
My controller code is called on the push of a button.
...
0
votes
0answers
15 views
Conditional use of angular service or factory function within a controller
I have two API services to get json data extracted from two DB tables. The data is being used to produce charts. I have managed to generate one such bar chart with data from one table. The other chart ...
0
votes
0answers
13 views
AngularJS + UI Bootstrap Typeahead: preload value from object into input field
I am trying to use AngularJS + UI Bootstrap Typeahead to fill in input field with name attribute of an object while I need to use id attribute of this object when the form is sent.
The problem is ...
0
votes
0answers
26 views
Is AngularJS good for a HTML5 mobile app? [on hold]
I know that Zepto + Backbone is a proven technology stack for HTML5 mobile app development. But now AngularJS is here and does most things OOTB so you don't have to combine a lot of frameworks and ...
1
vote
0answers
11 views
Angularjs Routing behaves strange when using tabset directive from ui-bootstrap
I've been trying to solve a strange behaviour. Whenever I use the tabset directive from ui-bootstrap in one of my ui-router templates, I am unable to navigate away from that particular state. The ...
0
votes
1answer
18 views
Easy with the sudo - Yo webapp
I get an error while running yo webapp as "Easy with the sudo. Yeoman is the master around here"
Please help me out. I followed the same instructions in the yoeman.io website.
Without sudo , on ...
0
votes
0answers
14 views
Custom Directive ,isolated scope and form validation
I need to create the following component
<input type="text" bp /><button><i class="icon-search"></i></button>
i have defined the form and form validation for it
...
1
vote
1answer
39 views
angularjs filter (not working)
The following HTML, Javascript and JSON render correctly, but the filter does not work at all. What are we doing wrong?
Thank you.
<div data-ng-controller="dashboard_controller">
<h1>
...
0
votes
1answer
8 views
Angular $http error function never called for 127.0.0.1
I use Angular version:
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"> </script>
This is my controller:
function ...
1
vote
0answers
22 views
Android HTML5 Application and Next Button on input
I got application written on html5. I got the code:
<input id="hour" type="number" min="0" max="23" required />
<p>:</p>
<input id="minute" type="number" min="0" max="59" ...
3
votes
1answer
26 views
AngularJS - building a filtered search from a set of filter objects
I'm trying to build up an object for a filtered search. The user can add multiple filters to the search and can add the same filter more than once with a different value.
The user is presented with ...
0
votes
0answers
8 views
AngularJS+ Firebase can't get data preloaded on route change
var testApp = angular.module('testApp', ['firebase'])
.config(['$routeProvider','$locationProvider',function
($routeProvider,$locationProvider)
{
$routeProvider
.when('/', {
...