Angular pipes are analogues of AngularJS filters. They transform data before output it in component template.Angular has several built-in pipes (date, uppercase, lowercase, currency, decimal, percent). Also developer can create his own pipes. Pipe is a class, realize...
Tutorials
Angular. Introduction to services
Services in Angular are simple classes, who make specific non-component operations (calculations, read data from remote HTTP server and etc).Services have the special decorator @Injectable(), which define this class as the service. The decorator has a param...
Angular. Introduction to components
Today we'll consider basics of Angular components - template params and methods, interpolation, eventsAngular components are what the user interacts with: see data and interacts with it (clicks etc).Angular component is class, which has its own template and styles....
Angular CLI
In this video we'll talk about Angular CLI - command line interfaceAngular CLI lets you quickly create main Angular entities - components, services, pipes etc. Let's consider one of the most used command ng generate <entity> <options>. Entity is Angular...
Angular. Project structure
In last lesson we've installed angular project. In this video we will discuss the filesystem angular app structure
Angular Intro
In previous lessons we're working with AngularJS. The modern Angular version is fundamentally different from AngularJS. It was written with using TypeScript and RxJS. Beginning from this lesson we begin learning modern Angular.The link to the Angular...
Gulp. Browsersync
In this tutorial we'll consider a very useful plugin browsersync. Browsersync reload browser itself after some changes in files (html/css/js etc) appears.Browsersync's available for Grunt and Gulp. To set browsersync in the project it needs to define config for...
Gulp. Compile typescript and minify js
In the final Gulp tutorial we'll consider decisions for compile typescript and minify javascript.We'll use gulp-typescript to compile typescript. For minify final javascript we'll use gulp-uglify plugin. Besides it's important to note about two gulp core methods,...
Gulp. Minify CSS. Watch mode
In this video we will continue working with Gulp. Today we'll discuss css minification and eatch mode from gulp core api.CSS minification is very important. task. Browser loads page quicklier with minified resources (css, js, html etc.). For css minification I...