[AngularJS] how to pass the current tag instance to the events in angular2

2016-10-04 Thread Navaneetha Krishnan S
I have a left sidebar menu which is populated by and tag elements. I have handled the menu click event to exapnd/collapse the submenu items. The problem I am facing here is I am not able to pass/identify the current instance of the tag element to do the expand/collapse i.e. If i expand a

[AngularJS] Re: Angularjs Design Question - html files versus ng-template

2016-10-04 Thread Sander Elias
Hi Ed, There is tooling available that wraps up the templates into js files you can just bundle with your app. Unless there are some really large templates, this is fairly efficient. I'm not at my computer now, so I don't know the name right now, but probably a google search will help there.

Re: [AngularJS] Re: error 404 bootstrap with angular 2 final release

2016-10-04 Thread Zlatko Đurić
Oh, Angular CLI, should be easy: Take a look at this: https://github.com/angular/angular-cli#global-library-installation It will make sure that ng serve also picks up your npm-installed scripts *that you want to expose to the app*. This is so that you may also pack dev scripts (e.g. uglifiers

[AngularJS] How to animate a opening/closing up and down with automatic property calculation

2016-10-04 Thread Kevin Quiring
0 down vote favorite I have a table row that is not visible until you click a "view details" button on the row above it. Currently I am using *ngIf to display the

[AngularJS] Required: DevOps Architect in Germantown MD || Need GC and US Citizen only

2016-10-04 Thread rahul goswami
*Hi * *Please share a profile at rahulg...@onsinteractive.com * *Need GC and US Citizen Only* *Job Title: DevOps Architect* *Location: Germantown MD* *Duration: 3+months* *Start: ASAP* *Job Descriptions:* · Responsible to educate, coach and

[AngularJS] Re: error 404 bootstrap with angular 2 final release

2016-10-04 Thread Luís Augusto de Godoy
Hello Zlatko, Thank you for your help, On the way in my application does not have the blanks, only appeared in the post when copied and pasted. I started the project with angular-cli,, then changed the file package.json including the bootstrap and jquery, and installed again npm install, it

[AngularJS] Updating to the latest Angular2 breaks Components can no loger inherit abstract classes without breaking NgModule

2016-10-04 Thread Emanuel Petre
export abstract class PageWithStatus is the parent class that provides a few methods about Api and Network availability such as onDidReconnect, onDataLoaded. Components can do work on in those methods to adjust the view according to when and what data is available. @Component({ templateUrl:

[AngularJS] Re: ngFor on Array of objects not updating DOM elements properly

2016-10-04 Thread SLV SNZ
After checking angular 2 release updates I see where the problem comes from: in RC5 --> "core: ensure ngFor only inserts/moves/removes elements when necessary" I compared my projects RC4 and 2.0.1 and all elements are updated only in RC4 (as expected) * there is a way to bypass this? and have

[AngularJS] Re: Angularjs Design Question - html files versus ng-template

2016-10-04 Thread Zlatko Đurić
Hi, On Tuesday, October 4, 2016 at 12:12:13 AM UTC+2, Ed Thompson wrote: > > I have about 30 html files in my Angularjs 1.x app. For my production > build, I am trying to decide if I should keep them separate files, or if I > should combine them into a single file at build time as a single

[AngularJS] Re: Angular 2 guide: Class binding (Question)

2016-10-04 Thread Zlatko Đurić
I've read an article or a SO answer or similar recently, Angular binds to HTML *properties*, not *attributes*. That's because a html attribute (e.g. ** or *el.setAttribute('class', 'my-class');* )can only ever be a string. And a property of a HTML element (*el.className*) can be an object

[AngularJS] Re: Exporting convention explicit vs implicit

2016-10-04 Thread Zlatko Đurić
Hi On Monday, October 3, 2016 at 10:21:40 AM UTC+2, Sander Elias wrote: > > If you export things explicitly, it's very hard to accidentally expose a > thing that should have been private. > I agree, at least in part, that explicit exports let you target specific stuff. But if the things should

[AngularJS] Re: Connecting Chart using Angular JS to DB

2016-10-04 Thread Zlatko Đurić
On Saturday, October 1, 2016 at 11:43:39 AM UTC+2, srinivas jayaram wrote: > > > I have a chart on my dashboard, I need to connect this chart to the DB > using Angular JS inorder to populate the results. Looking forward for a > solution. > Typically your Angular part of the application will

[AngularJS] Re: error 404 bootstrap with angular 2 final release

2016-10-04 Thread Zlatko Đurić
Hi On Friday, September 30, 2016 at 8:27:28 PM UTC+2, Guto Godoy wrote: > > > and in index.html I inserted the line: > > > Like Elias said, strip the whitespace. Additionally, you might want to prepend that path with */*, so it becomes */vendor/bootstrap/dist/css/bootstrap.min.css*. Finally,