Web Prepration

Web Concept Tutorials

Angular

Angular, Interview Questions
Angular 8

Angular is an app-design framework and development plate form for creating web applications, Angular is a leading technology in web development as well as we know angular has great demand in the market. Q) What are new features in Angular 9? Ans:- An undecorated class migration schematic added to the core. Numeric Values are accepted in the formControlName. Selector-less directives have now been allowed as base classes in View Engine in the compiler. Conversion of ngtsc diagnostics to ts.Diagnostics is possible Q) What is the difference between $scope and scope in Angular? Ans:-  $scope in Angular is used for implementing the concept of dependency injection (D.I) on the other hand scope is used for directive linking. $scope is the service provided by $scopeProviderwhich can be injected into controllers, directives or other services whereas Scope can be anything such as a function parameter name, etc. Q) What is the purpose of

read more >>
Angular, Interview Questions

In this post we are going to share some frequently asked questions of AngularJS, If you want to start career as an angular developer then this post is very useful for you. I am going to share basics and advance level of interview questions and answer of Angular. 1) What is AngularJS? Answer:- AngularJS is a JavaScript framework used for creating single web page applications. It allows you to use HTML as your template language and enables you to extend HTML’s syntax to express your application’s components clearly. Angular is a front-end or client-side framework which needs programming language like TypeScript ( developed by Microsoft ). Now, what does it mean when one says, “Angular is a client-side framework”? It means that it runs on the client-side or user’s browser and not on a Web Server . Angular is a product developed and maintained by the techie giant Google and

read more >>
Angular, Others

In this post, We are going to explain *ngFor and all features of *ngFor means local variables and find index etc. *ngFor NgFor is a structural directive, means, it changes the structure of the DOM Its point is to repeat a given HTML template once for each value in an array, each time passing it the array value as context for string interpolation or binding. The syntax is *ngfor=”let <value> of <collections>” <value> is variable name of your choosing, <collection> is property on your component which holds a collection, usually an array but anything that can be iterate over in a for loop. Example:-

  ngFor-local variables Index – Used for provide the index for current element while iteration. First –  Return true if current element is first element in the iteration otherwise false. Last — Return true if current element is last element in the iteration otherwise false.

read more >>
Angular, Others

In this post, I am going to explain “How to use ngSwitch in Angular5”, ngSwitch used in angular same as other programming language. In this article I will be show example “How to use ngSwitch in Angular”. ngSwitch ngSwitch is actually comprised of two directives, an attribute directive and a structural directive. Its very similar to a switch statement in JavaScript and other programming languages, but in the template. The ngSwitch directive lets you hide/show html element depending on expression We can also define a default section, by using the ng-switch-default directive, to show a section if none of the other sections get a match. Three things to keep in mind –ngSwitch, ngSwitchCase, ngSwitchDefault Example:-

  Thanks!! WebpreprationI’m a full-stack developer.  My hobby and profession to write blog and programming tips that helps to others. I am a great admirer of PHP, Laravel, Codeigniter, AngularJS,  Vue.js,  Javascript, JQuery, WordPress,

read more >>
Angular, Others

In this post, I am going to explain all conditional statement of Angular like NgIf, NgIf else, Then and Switch Statement. NgIf, else, Then NgIf conditionally includes a template based on the value of expressions It adds or removes the HTML element in DOM layout. The basic syntax of the ngif directives is simple and effective, all we need to do is prefix the directive name with an asterisk ( * ) and add it anywhere inside our template. *ngIf NgIf is an structural directive that can add or remove host element and its descendants in DOM layout at run time. It conditionally shows the inline template. NgIf works on the basis of true and false result of given expression. If condition is true, the elements will be added into DOM layouts otherwise they will be removed  

  *ngIf with else Else is used when we want to

read more >>
Angular

In this post, I am going to explain “What’s New in Angular5”  and cover basics of the angular topics and explain one by one.  Angular is an all-encompassing JavaScript framework that is frequently used by developers all over the world for building web, desktop, and mobile applications. Angular 5 has been released. The 5th edition of the JavaScript framework brings numerous innovations and optimizations. What is Angular?  Angular is platform and framework for building client applications in html and typeScript Angular is Itself written in type Script.  Angular 5 was announced to the world on November 2017  Developed by :- Google  Front-end client side JavaScript Framework Angular Features:-  Speed and Performance  Smaller Applications  Modular Applications  Cross-Platform( Web mobile desktop)  Single Page Application  Rest full API  Use type Script   Setup: Developement Environment for Angular 5 Nodejs:- Node js is an open source, Cross platform JavaScript run time environment go to nodejs.org NPM:-

read more >>