[AngularJS] Not able to update DOM of Child Components

2018-10-26 Thread Rohit Mishra
Hi Everyone, I am working on a Angular 6 application which has layout component(parent) and MatterComponent as (child) , i am calling the function of the child component from parent component , and it works i can se the function working the data in the .ts file has being changed. but the child

[AngularJS] Re: disable not working in ng-options in angularjs v1.1.5

2018-10-26 Thread Sander Elias
Hi Arun, By backporting all the fixes from 1.5 to 1.1. Is there a reason you can't upgrade to a newer version? Regards Sandeer -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop

Re: [AngularJS] Re: Can't resolve all parameters when using ng --prod

2018-10-26 Thread Anthony Pri
I fixed it thanks. On Fri, Oct 26, 2018 at 12:15 AM Sander Elias wrote: > Hi Anthony, > > constructor(private allowedRoles:string[], private router:Router) {} > > The injector does not know what to inject for `string[]`. Don't declare > private variables like that. define them on the class

Re: [AngularJS] Re: Can't resolve all parameters when using ng --prod

2018-10-26 Thread Anthony Pri
Define them on the class? do you have example. thanks On Fri, Oct 26, 2018 at 12:15 AM Sander Elias wrote: > Hi Anthony, > > constructor(private allowedRoles:string[], private router:Router) {} > > The injector does not know what to inject for `string[]`. Don't declare > private variables like

[AngularJS] Re: http get and service usages

2018-10-26 Thread Sander Elias
Hi Stéphane, Both are possible. It's mostly a matter of preference. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[AngularJS]

2018-10-26 Thread mahesh reddy
Can any body help me how to add child rows in subitems using anjularjs?? If any one know please let me know. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it,

[AngularJS] How to upload dynamic data with jspdf in angular 5

2018-10-26 Thread amit sutar
I am using angular 5 with laravel. generating pdf with jspdf of html component. its working but dynamic data is not visible in pdf file. public captureScreen() { let data2pdf = this.store_sales_invoice; var data = document.getElementById('contentToConvert'); html2canvas(data).then(canvas => {

[AngularJS] Re: disable not working in ng-options in angularjs v1.1.5

2018-10-26 Thread Arun kumar
Hi sander, I can't upgrade to newer version, the company I am working, they are using older version they won't upgrade whole application for a single enhancement. Any workaround on using 'disable when' in ng-repeat ? On Friday, October 26, 2018 at 8:25:25 PM UTC+5:30, Sander Elias wrote: > > Hi

[AngularJS] Mat Icons not appearing

2018-10-26 Thread Partha Majumdar
Dear Sir/Madam, I upgraded from Angular 6 to Angular 7. After a lot of struggle, I managed to compile my application. Now, the application seems to be running. I am still testing. However, the Mat-icons are no longer appearing where I have used the,. Please see the screen shot. Please help.

Re: [AngularJS]

2018-10-26 Thread ACHARYA ANIL KUMAR
Hi , you can dynamically add nested array then put nested ng -repeat On Fri, Oct 26, 2018 at 8:50 PM mahesh reddy wrote: > Can any body help me how to add child rows in subitems using anjularjs?? > If any one know please let me know. > > -- > You received this message because you are

Re: [AngularJS]

2018-10-26 Thread mahesh reddy
hi, Can you please share some sample code It can helpfull to me Thanks & Regards Mahesh Reddy On Sat, Oct 27, 2018 at 9:36 AM ACHARYA ANIL KUMAR wrote: > Hi , > > you can dynamically add nested array then put nested ng -repeat > > On Fri, Oct 26, 2018 at 8:50 PM mahesh reddy > wrote:

Re: [AngularJS]

2018-10-26 Thread mahesh reddy
hi, My requirement is i want to add/delete rows in nested ng -repeat and nested array I.e means In child row i want add/remove rows dynamically. can you please suggest me. Thanks & Regards Mahesh Reddy On Sat, Oct 27, 2018 at 9:51 AM mahesh reddy wrote: > hi, > Can you please

[AngularJS] Re: HTML links to routes in Angular app

2018-10-26 Thread Sander Elias
Hi Shweta, Hmm, wrote it a while ago. Typescript got better in the meantime ;) Updated the typings for you: import { AfterViewInit, ContentChildren, Directive, ElementRef, QueryList, ViewChildren } from '@angular/core'; import { Router, RouterLink } from '@angular/router'; @Directive({

[AngularJS] Re: HTML links to routes in Angular app

2018-10-26 Thread Shweta Sinha
Hi Sander, This is perfect and exactly what I am looking for.. I tried using the code and modify it to use but its not working for Angular 6. giving error "property does not exist on type" for has attribute and addEventlistner and class name not for QueryList, I am new to Angular and want

[AngularJS] disable not working in ng-options in angularjs v1.1.5

2018-10-26 Thread Arun kumar
Hi, I am implementing this below link code into my code, but the disable keyword is not working in v1.1.5, currently it's wokring v1.4 any workaround to use disable in ng-options here's the working link which uses angularjs v1.4 http://plnkr.co/edit/doIGPIa8KJRBnhPTBJKJ?p=preview how do I get

[AngularJS] Re: HTML links to routes in Angular app

2018-10-26 Thread Shweta
Hi Sander, Thanks for the update!! Error has gone and code works as expected. I have one question what does 'ng-reflect-router-link' do in the code. Not able to understand that line. regards Shweta -- You received this message because you are subscribed to the Google Groups "Angular and