[AngularJS] Stuck at PhoneCat Preparation Tutorial

2016-04-07 Thread Derek Lin
I am following the upgrade example at https://angular.io/docs/ts/latest/guide/upgrade.html#!#phonecat-preparation-tutorial I am at just before the Preparing Tests section. When I start up the server and try to run the app, I get errors (see below). I have been trying to debug and see the issues

[AngularJS] Prevent scrolling of child element to propagate in Angular 2

2016-04-07 Thread Robert Smith
I asked this question on SO and maybe somebody here would be kind enough to answer it. Basically, the problem is that I have a parent component and a child component, both able to scroll

[AngularJS] [ASK] about angularjs

2016-04-07 Thread Dwi Ahmad
hi all who mastering angularjs, i wanna ask you about angularjs. my problem is like this, when i submit my data to another php page, it couldn't show. {{isi}} the input box is empty, how to fix it to fulfilled the value and {{isi}}?? thank for your answer!! -- You received this mess

[AngularJS] Re: Can't find the tsconfig.json file

2016-04-07 Thread Peter Wiebe
Solved it! In the /*app-name*/node_modules/angular-cli/lib/broccoli/angular2-app.js file replace all instances of "src/client" with "src". Voila! On Thursday, April 7, 2016 at 2:29:49 PM UTC-7, Peter Wiebe wrote: > > Recently updated a small project I am working on from using beta.11 to > bet

Re: [AngularJS] Re: Angular Material Grid List Lazy Loading

2016-04-07 Thread Kamran Tasharofi
Hello Rama, it would be great if you could provide us with instruction or a sample. thanks *Regards, * *Kamran Tasharofi* On 7 April 2016 at 21:40, Rama Prasath wrote: > still, are you facing this issue? > > > On Monday, February 15, 2016 at 4:24:23 PM UTC+5:30, Kamran Tasharofi > wrote: >> >>

[AngularJS] parent controller detect change in child directive

2016-04-07 Thread Rj Ewing
Hello, I have a directive with a select input. Upon change of the select input, I would like to do something in the parent controller. What's the best way to do this? angular.module('myApp') .directive('projectSelect', ['$rootScope', function($rootScope) { var directive = { restrict

[AngularJS] Can't find the tsconfig.json file

2016-04-07 Thread Peter Wiebe
Recently updated a small project I am working on from using beta.11 to beta.14 Installed angular-cli back when the project was first started (currently have 0.0.30 installed) When I run ng serve it is giving this error: ENOENT: no such file or directory, open 'src/client/tsconfig.json' The t

[AngularJS] Re: How to run AngularJS App locally without using a WebServer

2016-04-07 Thread Tito
pull down the necessary .js files locally in a certain folder and reference them On Thursday, April 7, 2016 at 8:01:39 AM UTC-7, Vishal Sharma wrote: > > Hello, > > I have a SPA built using AngularJS framework. The index.html is the main > page that has ng-view directive to load and display the

[AngularJS] Get dependency without constructor in Angular 2

2016-04-07 Thread Dheeran
In Angular 2, how to get services declared at bootstrap() from injector without naming it in constructor of components. -- 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

Re: [AngularJS] How to fetch id and src path from html intpo controller.

2016-04-07 Thread Kiran A
Hi samiksha patil, You can use Jquery in controller to get id. On Thu, Apr 7, 2016 at 4:50 PM, samiksha patil wrote: > Hi, > I have problem with following code > suppose > > > how to fetch id and src path in controller . > Please Help. > > -- > You received this message because you are

[AngularJS] How to run AngularJS App locally without using a WebServer

2016-04-07 Thread Vishal Sharma
Hello, I have a SPA built using AngularJS framework. The index.html is the main page that has ng-view directive to load and display the templates. The application uses Angular Route module to navigate to various pages within the application. The problem is that I have to use a Webserver for the

[AngularJS] Return variable from function

2016-04-07 Thread Norman Braun
Hi, i think i have a syntax problem. i just want to access the result from a function in a controller. i call: var testme = self.setAdvertisementByAdId(self.FacebookAdVars.sAdId); and have this: // Get advertisement via API this.setAdvertisementByAdId = function(sAdId){ return $advertiseme

[AngularJS] Re: Angular Material Grid List Lazy Loading

2016-04-07 Thread Rama Prasath
still, are you facing this issue? On Monday, February 15, 2016 at 4:24:23 PM UTC+5:30, Kamran Tasharofi wrote: > > I have created a grid page using angular Material Grid list. Is there way > to integrate the Material "Virtual Repeat" (Lazy Loading on scroll) with > grid list? So basically loadin

[AngularJS] How to fetch id and src path from html into controller.

2016-04-07 Thread samiksha patil
Hi, I have problem with following code suppose how to fetch id and src path in controller . Please Help -- 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

[AngularJS] How to fetch id and src path from html intpo controller.

2016-04-07 Thread samiksha patil
Hi, I have problem with following code suppose how to fetch id and src path in controller . Please Help. -- 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

[AngularJS] How to fetch id and src path from html intpo controller.

2016-04-07 Thread samiksha patil
Hi, I have problem with following code suppose how to fetch id and src path in controller . Please Help. -- 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

[AngularJS] Pass ng-bind to $state.current.data

2016-04-07 Thread Norman Braun
Hi, i have the current code: ... $stateProvider .state('build', { views: { 'orderView': { templateUrl: phpNgPartials + "/facebook/facebook.php", controller: 'FacebookAdController', controllerAs: 'fbCtrl' }

Re: [AngularJS] Re: Angular2 HTML5 compliance

2016-04-07 Thread Radek Holý
No, I mean: ... as documented at https://angular.io/docs/ts/latest/api/common/NgFor-directive.html#syntax On 2016-04-07 11:00, Günter Zöchbauer wrote: >> > you mean ? > > * ... > > On Wednesday, April 6, 2016 at 2:09:10 PM UTC+2, Radek Holý wrote: > > For ngFor I prefer: > >

[AngularJS] Re: Angular2 HTML5 compliance

2016-04-07 Thread Günter Zöchbauer
How do you do that? Can you post a screenshot? On Wednesday, April 6, 2016 at 4:59:41 PM UTC+2, hani wrote: > > I'm not sure, i can see all those fancy tags in my browser and they seem > to be added directly in DOM. > > On Wednesday, April 6, 2016 at 5:19:08 AM UTC-5, Günter Zöchbauer wrote: >> >

Re: [AngularJS] Re: Angular2 HTML5 compliance

2016-04-07 Thread Günter Zöchbauer
> you mean ? - ... On Wednesday, April 6, 2016 at 2:09:10 PM UTC+2, Radek Holý wrote: > > For ngFor I prefer: > > > > and for bindings: > > > > and > > > > It works in Angular 2.0.0-alpha.45. However, I'm not sure whether it > *should* (and will) work since I did not find it

[AngularJS] Re: dynamic providers and decorators in general.

2016-04-07 Thread Günter Zöchbauer
You can create a variable that contains them and then just add the variable. https://github.com/angular/angular/blob/master/modules/angular2/src/router/router_providers.ts#L31 Angular resolves nested arrays by itself, no need to spread. On Wednesday, April 6, 2016 at 2:56:43 PM UTC+2, massimi...