[AngularJS] I have $scope disconnect problem.

2016-07-29 Thread 'Tony Starke' via AngularJS
Hello, members of the Angularjs Technorati. I come to you today as a novice trying to make div panels hide and show, using $scope switching in a bolean statement. Here is the code: Untitled 33 START HERE! Button1 Button2 Button3 con1 con2

Re: [AngularJS] Angular 2: XMLHttpRequest cannot load

2016-07-29 Thread 'Lucas Lacroix' via AngularJS
Is the page being served from the same port and host? This error seems to say that the server doesn't support CORS and you tried to request a resource from a different server. Note: in order for CORS to not be in effect, your request must match the protocol, hostname, and port of the page making

[AngularJS] Angular 2: XMLHttpRequest cannot load

2016-07-29 Thread Edhvin Zarate Aduviri
Error in http: Failed to load resource: the server responded with a status of 404 (Not Found) perfil:1 XMLHttpRequest cannot load http://localhost:50112/WSAdministrador/EInsertaPerfil. Response for preflight has invalid HTTP status code 404 my code is: export class Service { private

[AngularJS] Angular2 dynamic values in animation

2016-07-29 Thread Tiago Vila Verde
I've just recently started messing around with Ng2 I'm digging into the animation part for the first time and I've ran into some issues. I have a ngFor that basically repeats divs with different widths. Each element in the array has it's own div's width value which is calculated the

[AngularJS] Inserting JSON ID key into ng-click directive and then pass that into another controller in my app.js

2016-07-29 Thread Kevin Ray
This section of the app shows the minimal information of a user's task. When they click the "view details" button it will take them to a page that has more information about that specific CAR based on is ID. Here is a pic to help explain the first part of what I am talking about:

[AngularJS] Re: [ANGULAR2][ROUTER-DEPRECATED] How to use router.navigate from child components without refreshing the parent component

2016-07-29 Thread Matthias Thomas Lamotte
+1 Same issue here! Let me know if you manage to fix it Thanks Mat -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post

[AngularJS] Routing issues : Error: Cannot match any routes

2016-07-29 Thread Navaneetha Krishnan S
I'm building angular2 app and currently I have an home component with menubar and router-outlet for the main content. I have added the login mechanism, so if the user is not authenticated then the login page will be displayed in the entire screen and after login the user will be routed to

Re: [AngularJS] xml to json with observable

2016-07-29 Thread 'Lucas Lacroix' via AngularJS
The console.log is executed before the asynchronous operation (ie. ".subscribe") invokes the callbacks. On Fri, Jul 29, 2016 at 11:18 AM, Josh Restivo wrote: > I've tried various incarnations of the following function and can't get > 'this.entries' to return with any

[AngularJS] xml to json with observable

2016-07-29 Thread Josh Restivo
I've tried various incarnations of the following function and can't get 'this.entries' to return with any data (it's always undefined in the console log). I'm clearly not understanding how to handle the observable correctly and am hoping for some guidance... ... import * as x2js from

[AngularJS] Re: ng-view and access the views controller

2016-07-29 Thread Sander Elias
Hi Jason, Here is a plunk that shows it working! Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email

[AngularJS] After upgrading to 1.5.8 getting ngTransclude error and application is not working

2016-07-29 Thread anil namde
Code was working great on 1.5.7 and after upgrading to 1.5.8 I am getting following error. [ngTransclude:orphan] Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: Just wanted to know if any one has idea what could be the

[AngularJS] Re: 2 way data binding on map

2016-07-29 Thread Ben Gill
> > Hi, > > My form is dynamic, and therefore I hold my form fields in the following > form: > model: ResourceInstance; in ResourceInstance I have: > > fields?: { [key: string]: models.FieldInstance; }; > > in FieldInstance I have: value?: models.FieldValue; where FieldValue is

[AngularJS] 2 way data binding on map

2016-07-29 Thread Ben Gill
Hi, My form is dynamic, and therefore I hold my form fields in the following form: fields?: { [key: string]: models.FieldInstance; }; I have tried a few variants but cannot find the right syntax: [(ngModel="model.fields[{{anElement.name}}]")] What is the syntax that will allow two way