0
votes
0answers
12 views
Angular constructing a complex domain model
I am new to angular JS, apologies if this question sound very basic, But i have a XML xsd model like below.
public class Client {
private String name;
//A client can have n number of ...
1
vote
1answer
39 views
AngularJS undefined is not a function
Im trying out a simple http app using Angularjs.
My code is
var studentApp = angular.module('studentApp',['ui.bootstrap']);
studentApp.factory('studentSession', function($http){
return {
...
0
votes
0answers
35 views
Angular.js Model Traversal
Is there a function that goes like $.each(scope.model)? A function that traverses all the models within a scope?
I can't seem to find an answer anywhere and thought maybe I should give SO a try.
...
2
votes
1answer
27 views
AngularFire single object
In the angularFire examples it shows how to get a collection of objects from firebase.
app.controller('ctrl', ['$scope', '$timeout', 'angularFireCollection',
function($scope, $timeout, ...
0
votes
2answers
18 views
watch arbitrary ng-repeat collection
I'm struggling trying to find the correct Angular Way to watch an arbitrary ng-repeat collection.
The goal is simply to receive the new list contents when content of ng-repeat changes. (Of course ...
0
votes
1answer
12 views
Setting and getting bootstrap radio button inside angular repeat loop
I am trying to set the default button and get the current selected value.
The example without the repeat loop works.
Here is my plnkr:
http://plnkr.co/edit/t9CefA5bhLZs3RASmEUG?p=preview
It is based ...
0
votes
1answer
37 views
AngularJS : execute code after his job
I want to execute some code after AngularJS finished to change the HTML after an event. I've tried to do the following:
angular.module('ngC', [], function($routeProvider, $locationProvider)
{
...
1
vote
2answers
24 views
Dynamic ng-model names in an ng-repeat
I'm trying to create a form that allows a person object with fields for name and age to be appended to an array in Angularjs, but I can't get the field names to render properly. Here's the code that ...
0
votes
1answer
19 views
AngularJS child directives linking function firing multiple times for each parent directive on page
I'm trying to wrap my head around angularjs directives. I have a parent directive, with 4 instances of it on my page. One of the parent directives contains an instance of the CHILD directive.
The ...
0
votes
0answers
32 views
Table rows not created with ng-repeat after firing of signalr callback
I'd be grateful for any help on the following subject.
There's a table row with ng-repeat in an html view which iterates over results (array of employee objects) retrieved upon a signalr callback ...
0
votes
0answers
21 views
Angular JS Hashbang URL's malformed
I'm working on an angularjs app and I configured my $locationProvider to use hash bangs like so:
$locationProvider.html5Mode(false);
$locationProvider.hashPrefix = '!';
In the html I have a link ...
1
vote
1answer
46 views
Native looking desktop/mobile apps with AngularJS?
From what I've read, AngularJS is perfect for single page applications.
But what additional libraries / components would I need to be able to create an app that looks and feels like a native desktop ...
1
vote
1answer
25 views
Pass URL to as $routeParam in AngularJS app
How can I pass actual URL (with slashes, commas, etc.) as a $routeParam to AngularJS App?
this will work:
http://paprikka.github.io/le-bat/#/preview/asdadasda
this won't:
...
0
votes
1answer
26 views
How can I write jasmine test for angular controller and service like this?
I'm stuck for hours for this and it's because I'm new to Jasmine and Angularjs. Basically, I have this controller.
angular.module('toadlane.controllers', []).
controller('MainController', ...
2
votes
1answer
25 views
Angular: How do I get checkboxes to bind to boolean values in my data model?
I've browsed similar questions for a couple hours, but haven't come up with anything that's an exact match. What I want to do is have a checkbox be automatically checked via data binding to a ...