Skip to main content

Posts

Showing posts with the label 5

Angular book 12, 10, 9,8,7, 6, 5, 4, and 2 – All in one Book

Features of the book - Around 300 plus interview question from live Angular Interview. Buy this Book... Book covers all old and new versions of Angular 2, 4, 5, and 6 . We have captured most of all question of Angular framework. This book also provided some multiple choice question and answer which can also help you measure how much you ready for Angular Interview. Every topic contains basic, intermediate, and advance level of questions and this b ook helps you in doing quick revision so that you can ready for interview in a single days or multiple days. Book helps to all junior and senior developers who are looking for quick reference and FAQ . Recommended for fresher and student who want to have a feel of what Angular question are asked in IT companies. This book is available now - Buy this Book...

Angular ng-if multiple conditions

Angular ng-if multiple conditions Example 1 < table class ="table table-bordered table-striped table-hover">     AND Operator     < tr ng-repeat =" LList in MatchedList " ng-if =" MatchStatus == 'Accepted' && LList.CampaignStatus == 'Accepted' ">         < td > {{ LList.CampaignStatus }} </ td >     </ tr >     OR Operator     < tr ng-repeat =" LList in MatchedList " ng-if =" MatchStatus == 'Quote' || LList.CampaignStatus == 'Quote' ">         < td > {{ LList.CampaignStatus }} </ td >     </ tr > </ table > Example 2 < div ng-repeat =" itm in items ">     OR Operator     < div ng-if =" itm == 'anil' || itm == 'a' ">       ...

Deploy Angular Application to IIS - Angular 2, 4, 5, 6 and 7

Deploy Angular Application to IIS - In this article, I am showing the steps to deploy angular applications in a production scenario. For the same, we need to do some configuration to make it works. The configuration steps as following as - Steps 1 - Setup Internet Information Services (IIS) in your machine if not installed Steps 2 - Run the command ( ng build –prod ) in your Angular application directory. After the above command executed successfully! The “ dist ” folder created automatically in your application directory. See the pic 1 and 2. and Steps 3 – Copy the created “ dist ” folder and put as per your suitable folder directory. Steps 4 - Deploy your angular app ( dist folder ) in the web root in IIS. Steps 5 - Assign the port for this app (like port:8090 ) Steps 6 – Add the user access (authentication and authorizations) for this app folder. Steps 7 – finally open this app/project on your web browsers. Stayed informed – Angular4...

Angular Validator functions - Async and Sync Validators

What are the Validator functions? There are two types of validator functions which are the following - 1.         Async validators 2.         Sync validators Async  validator functions that take a control instance and return an  observable  that later emits a set of validation errors or null. Sync  validator functions that take a control instance and return a set of validation errors or null. Angular runs only  Async validators  due to some performance issues. For more detail kindly refer the link https://www.code-sample.com/2018/05/angular-6-7-documentation-and-examples.html

Angular Form, Template, and Validations | Angular 9, 8, 7, 6, 5, 4, 2

What are the Validator functions? There are two types of validator functions which are the following - 1.        Async validators 2.        Sync validators Async validator functions that take a control instance and return an observable that later emits a set of validation errors or null. Sync validator functions that take a control instance and return a set of validation errors or null. Angular runs only Async validators due to some performance issues. What Is a Template Reference variable? A template reference variable is a way of capturing a reference to a specific element, component, directive, and pipe so that it can be used someplace in the same template HTML . You should declare a reference variable using the hash symbol (#) . The Angular components and directives only match selectors for classes that are declared in the Angular module. Template Reference Variable Syntax – You can us...