[AngularJS] Re: 5 min quickstart -Angular 2

2016-04-08 Thread Zlatko Đurić
I believe you need to `import App from './app/app.component';` Not sure without seeing the code in main though. On Friday, April 8, 2016 at 8:54:06 PM UTC+2, Ana Caroline Ferreira wrote: > > Erro: > app/main.ts(2,28): error TS2307: Cannot find module './app.component'. > > And dirs is like i

[AngularJS] Re: Filtering Objects by a key using Angular using custom filter

2016-04-08 Thread Sander Elias
Hi Amit, Read through the docs of filter filter . Seems like an exact fit for what you need. Why do you think you need a custom filter? Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" gro

[AngularJS] Re: Direct Focus to AngularJS or Angular 2

2016-04-08 Thread Sander Elias
Hi Dezmen, I don't know the size of your project, that does make (some) difference. You can slowly migrate your current project towards Angular 2. You can even run 1 and 2 in the same app. Look up ngForward, and ngUpgrade, both of those are supported by the core team! Using those (or one of th

[AngularJS] Re: Stuck at PhoneCat Preparation Tutorial

2016-04-08 Thread Derek Lin
@Tito. You are right. It works when I downloaded my own zip and run npm install again. (Although I am using a different computer right now) I have no idea! Thanks very much for checking! Well, someone can use my zip as a base for continuing on the upgrade tutorial :) On Friday, April 8, 20

[AngularJS] Re: Stuck at PhoneCat Preparation Tutorial

2016-04-08 Thread Derek Lin
I start up using npm start You didn't get any error? Are you using my code base? That's strange... You didn't change anything right? On Friday, April 8, 2016 at 10:33:12 AM UTC-7, Tito wrote: > > another question > > how are you spinning things up? > > On Thursday, April 7, 2016 at 11:03:04 PM

[AngularJS] 5 min quickstart -Angular 2

2016-04-08 Thread Ana Caroline Ferreira
Erro: app/main.ts(2,28): error TS2307: Cannot find module './app.component'. And dirs is like it should be: angular2-quickstart app app.component.ts main.ts node_modules ... typings ... index.html package.json styles.css tsconfig.json typings.json -- You received this message because you are sub

[AngularJS] Filtering Objects by a key using Angular using custom filter

2016-04-08 Thread Amit Swain
Hii all Can anyone give me any suggestion to filter records based on key taken dynamically from dropdown and the value from input as well in Angular Js thanxx in advance.. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from thi

[AngularJS] Filtering Objects by a key using Angular using custom filter

2016-04-08 Thread Amit Swain
Hii all Can anyone give me any suggestion to filter records based on key taken dynamically from dropdown and the value from input as well in Angular Js thanxx in advance.. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from thi

[AngularJS] Direct Focus to AngularJS or Angular 2

2016-04-08 Thread Dezmen Sykes
Hello guys I'm in need of some decision help right now. Well I've been working on a framework in AngularJS that makes it easier to develop websites and mobile apps (using Ionic) and wish to continue using it for projects but with Angular 2 surfacing, I'm kinda lost on what I should do. Should i

[AngularJS] Re: Stuck at PhoneCat Preparation Tutorial

2016-04-08 Thread Tito
another question how are you spinning things up? On Thursday, April 7, 2016 at 11:03:04 PM UTC-7, Derek Lin wrote: > > 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. >

[AngularJS] Re: Stuck at PhoneCat Preparation Tutorial

2016-04-08 Thread Tito
working nicely for me. what happens when you do npm install bower install does it finish without any errors? On Thursday, April 7, 2016 at 11:03:04 PM UTC-7, Derek Lin wrote: > > I am following the upgrade example at > https://angular.io/docs/ts/latest/guide/upgrade.html#!#phonecat-preparation

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

2016-04-08 Thread Robert Smith
I posted an answer, although there seems to be a small bug in Chrome dev. This is basically what I did: renderer.listen(elRef.nativeElement, 'wheel', (e) => { let el = elRef.nativeElement; let conditions = ((el.scrollTop + el.offsetHeight > e

[AngularJS] AngularJS: Passing function body to ng-click.

2016-04-08 Thread Дмитрий Шикуть
Hello! I have this worked code: in controller: function AppController($log) { var vm = this; vm.reports = [ {name: 'Standard', img: 'standard.svg', dialog: reportsStandardDialog}, {name: 'Annual', img: 'annual.svg', dialog: reportsAnnualDialog} ]; function reportsStandardDialog

[AngularJS] How to use ui-sref="preview({ preview: file.dropbox_name,extension:file.type })" to work more efficiently on First click

2016-04-08 Thread beastar 457
I have a problem that on first click the link is supposed to open a preview of my file as you see the link, but it is working only when I click on second time first of all on first click url changes but it is not taking me there. here are my javascript for it .state('/Files', { url:

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

2016-04-08 Thread Sander Elias
Hi Samiksha, You don't, It is very unwise to access the dom form within a controller (with the exception of directive/component controllers) It is fairly easy to do this in a directive, or component tough. -- You received this message because you are subscribed to the Google Groups "AngularJS