Tag: angularjs

How to select the best angular components for your angular projects ? If you have more than one angular component in npm / github for the same requirement then you can use the below 6 ways to filter the best suitable one for your requirement. 1. Look for the more number stars or downloads in both npm and github

Typescript Quick Notes for Angular Developers: As because of angular’s reach angular developers are forced to learn typescript. It is not tough but it is better to know the below basic syntax to code faster. 1. Converting array to JSON in typescript selectedItems = []; JSON.stringify(this.selectedItems); 2. For loop in typescript for(let item of

Angular 4 Datatable with angular2-datatable [Sorting/Pagination/Rows Per Page]: I was looking for a good datatable with sorting/searching/pagination like jQuery datatables.net. We have datatables.net available even for angular-2, but it has some open issues also its not the official one. So I came across a datatable angular2-datatable, it is actually good, but we don’t have inbuilt searching option. But I personally

Ngx-datatable with Angular 4 Example: I have been searching for a best datatable with features like sorting, searching, pagination, rows per page etc.. to use in my angular projects. I am a big fan of datatables.net datatable, but unfortunately with angular it is not working properly (the issue i faced in datatables.net with angular is after sorting/any operations datatable will

Passing values using @ViewChild Angular 4: @ViewChild in angular is mainly to communicate between parent and child components. Because a component will have access only to its own template files. We have few more components like @Input and @Output for the same. Today we are going to see actually how to pass a value within a same component itself using

String Interpolation {{}} in Angular 4 – Must to know Things: String interpolation is basically used to output the values from the typescript file to template file. Whenever you want to dynamically display the values through backends/http requests/from DB then you can make use of this string interpolation to directly output your contents to templates. But know the things mentioned