Home
Search results “Angularjs if style”
AngularJS For Everyone Tutorial #8 - Conditional Classes With ngClass
 
10:32
Here we show you how to set classes conditionally in AngularJS. Subscribe for more free tutorials https://goo.gl/6ljoFc, more Angular Tutorials: https://goo.gl/vFi0CQ https://docs.angularjs.org/api/ng/filter Support Free Tutorials https://www.leveluptutorials.com/store/ The best shared web hosting http://www.bluehost.com/track/leveluptutorials/ Subscribe to Level Up Pro for extra features! http://leveluptuts.com/level-up-pro Subscribe to the Level Up Newsletter http://eepurl.com/AWjGz To Support Level Up Tuts: http://leveluptuts.com/donations Simple cloud hosting, built for developers.: https://www.digitalocean.com/?refcode=67357174b09e HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.
Views: 20984 LevelUpTuts
Angular 2 Class & Style Binding Tutorial
 
11:36
Build a Full App in Angular 2: https://goo.gl/tfWZDT Learn Angular 2 Fundamentals Course (Free): https://coursetro.com/courses/8/Learn-Angular-2-Development-with-our-Free-Course We're going to learn how to dynamically control CSS classes and inline CSS styles with Angular 2. We'll also take a look at ngStyle and ngClass for controlling multiple CSS classes and inline style properties. Written tutorial: https://coursetro.com/posts/code/24/Angular-2-Class-&-Style-Binding-Tutorial - - - - - - - - - - - - - - - - - - - - - - Subscribe for NEW VIDEOS weekly! My site: https://coursetro.com My personal FB account: http://fb.com/logodesigner Coursetro FB: http://fb.com/coursetro Coursetro's Twitter: http://twitter.com/designcoursecom Join my Discord! https://discord.gg/a27CKAF ^-Chat with me and others - - - - - - - - - - - - - - - - - - - - - - Who is Gary Simon? Well, I'm a full stack developer with 2+ decades experience and I teach people how to design and code. I've created around 100+ courses for big brands like LinkedIn, Lynda.com, Pluralsight and Envato Network. Now, I focus all of my time and energy on this channel and my website Coursetro.com. Come to my discord server or add me on social media and say Hi!
Views: 20406 DesignCourse
Style binding in angular 2
 
07:10
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/06/style-binding-in-angular-2.html Slides http://csharp-video-tutorials.blogspot.com/2017/06/style-binding-in-angular-2_29.html Angular 2 Tutorial playlist https://www.youtube.com/playlist?list=PL6n9fhu94yhWqGD8BuKuX-VTKqlNBj-m6 Angular 2 Text articles and slides http://csharp-video-tutorials.blogspot.com/2017/06/angular-2-tutorial-for-beginners_12.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss Style binding in Angular with examples. Setting inline styles with style binding is very similar to setting CSS classes with class binding. Please wtach Class binding video from Angular 2 tutorial before proceeding with this video. Notice in the example below, we have set the font color of the button using the style attribute. import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` [button style="color:red"]My Button[/button] ` }) export class AppComponent { } The following example sets a single style (font-weight). If the property 'isBold' is true, then font-weight style is set to bold else normal. import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` [button style='color:red' [style.font-weight]="isBold ? 'bold' : 'normal'"]My Button [/button] ` }) export class AppComponent { isBold: boolean = true; } style property name can be written in either dash-case or camelCase. For example, font-weight style can also be written using camel case - fontWeight. Some styles like font-size have a unit extension. To set font-size in pixels use the following syntax. This example sets font-size to 30 pixels. import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` [button style='color:red' [style.font-size.px]="fontSize"]My Button [/button] ` }) export class AppComponent { fontSize: number = 30; } To set multiple inline styles use NgStyle directive 1. Notice the color style is added using the style attribute 2. ngStyle is binded to addStyles() method of the AppComponent class 3. addStyles() method returns an object with 2 key/value pairs. The key is a style name, and the value is a value for the respective style property or an expression that returns the style value. 4. let is a new type of variable declaration in JavaScript. 5. let is similar to var in some respects but allows us to avoid some of the common “gotchas” that we run into when using var. 6. The differences between let and var are beyond the scope of this video. For our example, var also works fine. 7. As TypeScript is a superset of JavaScript, it supports let import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` [button style='color:red' [ngStyle]="addStyles()"]My Button[/button] ` }) export class AppComponent { isBold: boolean = true; fontSize: number = 30; isItalic: boolean = true; addStyles() { let styles = { 'font-weight': this.isBold ? 'bold' : 'normal', 'font-style': this.isItalic ? 'italic' : 'normal', 'font-size.px': this.fontSize }; return styles; } }
Views: 67061 kudvenkat
Angular 4 Style Binding
 
04:02
This video is from my Free Angular 4 Course: https://goo.gl/T5fqeB Written tutorial: https://goo.gl/7bXgqe http://coursetro.com for more! - - - - - - - - - - - - - - - - - - - - - - Subscribe for NEW VIDEOS weekly! My site: https://coursetro.com My personal FB account: http://fb.com/logodesigner Coursetro FB: http://fb.com/coursetro Coursetro's Twitter: http://twitter.com/designcoursecom Join my Discord! https://discord.gg/a27CKAF ^-Chat with me and others - - - - - - - - - - - - - - - - - - - - - - Who is Gary Simon? Well, I'm a full stack developer with 2+ decades experience and I teach people how to design and code. I've created around 100+ courses for big brands like LinkedIn, Lynda.com, Pluralsight and Envato Network. Now, I focus all of my time and energy on this channel and my website Coursetro.com. Come to my discord server or add me on social media and say Hi!
Views: 19802 DesignCourse
💥 Angular Component Styling - Watch Component Style Isolation In Action, Learn How It Works
 
06:26
This video is part of the Angular Library Laboratory Course - https://angular-university.io/course/angular-advanced-course?utm=yt-ll-1-c&grpp=t&couponCode=ANGULAR_LIB_LAB_YOUTUBE One of the topics that we will come across while designing third-party libraries is style isolation. Very often while developing applications we tend to use simply plain CSS, which works great especially if we are using a third party library like Bootstrap. But if we want to ship components to other applications, we can make our components much more reusable and easy to deploy if we isolate some of the styles of the component. For example the more structural styles of the component, such as for example the way the component internal elements are positioned internally: those are great candidates for style isolation. For more videos tutorials on Angular, check the Angular University website - https://angular-university.io Follow us: Twitter - https://twitter.com/AngularUniv Google+ - https://plus.google.com/u/1/113731658724752465218 Facebook - https://www.facebook.com/angular.university Check out the PDF E-Books available at the Angular University - https://angular-university.io/my-ebooks
Views: 9615 Angular University
Search filter in AngularJS
 
05:44
angularjs search filter example angularjs search box example In this video we will discuss, how to implement search in Angular using search filter. As we type in the search textbox, all the columns in the table must be searched and only the matching rows should be displayed. Script.js : The controller function builds the model. var app = angular .module("myModule", []) .controller("myController", function ($scope) { var employees = [ { name: "Ben", gender: "Male", salary: 55000, city: "London" }, { name: "Sara", gender: "Female", salary: 68000, city: "Chennai" }, { name: "Mark", gender: "Male", salary: 57000, city: "London" }, { name: "Pam", gender: "Female", salary: 53000, city: "Chennai" }, { name: "Todd", gender: "Male", salary: 60000, city: "London" }, ]; $scope.employees = employees; }); HtmlPage1.html : [!DOCTYPE html] [html xmlns="http://www.w3.org/1999/xhtml"] [head] [title][/title] [script src="Scripts/angular.min.js"][/script] [script src="Scripts/Script.js"][/script] [link href="Styles.css" rel="stylesheet" /] [/head] [body ng-app="myModule"] [div ng-controller="myController"] Search : [input type="text" ng-model="searchText" placeholder="Search employees" /] [br /][br /] [table] [thead] [tr] [th]Name[/th] [th]Gender[/th] [th]Salary[/th] [th]City[/th] [/tr] [/thead] [tbody] [tr ng-repeat="employee in employees | filter:searchText"] [td] {{ employee.name }} [/td] [td] {{ employee.gender }} [/td] [td] {{ employee.salary }} [/td] [td] {{ employee.city }} [/td] [/tr] [/tbody] [/table] [/div] [/body] [/html] Styles.css : CSS styles to make the form look pretty. body { font-family: Arial; } table { border-collapse: collapse; } td { border: 1px solid black; padding: 5px; } th { border: 1px solid black; padding: 5px; text-align: left; } At the moment, the search is being done across all columns. If you want to search only one specific column, then change ng-model directive value on the search textbox as shown below. With this change only city column is searched. [input type="text" ng-model="searchText.city" placeholder="Search employees" /] Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/11/search-filter-in-angularjs.html
Views: 217792 kudvenkat
Class binding in angular 2
 
11:05
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/06/class-binding-in-angular-2.html Slides http://csharp-video-tutorials.blogspot.com/2017/06/class-binding-in-angular-2_28.html Angular 2 Tutorial playlist https://www.youtube.com/playlist?list=PL6n9fhu94yhWqGD8BuKuX-VTKqlNBj-m6 Angular 2 Text articles and slides http://csharp-video-tutorials.blogspot.com/2017/06/angular-2-tutorial-for-beginners_12.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss CSS Class binding in Angular with examples. For the demos in this video, we will use same example we have been working with so far in this video series. In styles.css file include the following 3 CSS classes. If you recollect styles.css is already referenced in our host page - index.html. .boldClass{ font-weight:bold; } .italicsClass{ font-style:italic; } .colorClass{ color:red; } In app.component.ts, include a button element as shown below. Notice we have set the class attribute of the button element to 'colorClass'. import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` [button class='colorClass']My Button[/button] ` }) export class AppComponent { } At this point, run the application and notice that the 'colorClass' is added to the button element as expected. Replace all the existing css classes with one or more classes Modify the code in app.component.ts as shown below. We have introduced a property 'classesToApply' in AppComponent class We have also specified class binding for the button element. The word 'class' is in a pair of square brackets and it is binded to the property 'classesToApply' This will replace the existing css classes of the button with classes specified in the class binding import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` [button class='colorClass' [class]='classesToApply']My Button[/button] ` }) export class AppComponent { classesToApply: string = 'italicsClass boldClass'; } Run the application and notice 'colorClass' is removed and these classes (italicsClass & boldClass) are added. Adding or removing a single class : To add or remove a single class, include the prefix 'class' in a pair of square brackets, followed by a DOT and then the name of the class that you want to add or remove. The following example adds boldClass to the button element. Notice it does not remove the existing colorClass already added using the class attribute. If you change applyBoldClass property to false or remove the property altogether from the AppComponent class, css class boldClass is not added to the button element. import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` [button class='colorClass' [class.boldClass]='applyBoldClass']My Button[/button] ` }) export class AppComponent { applyBoldClass: boolean = true; } With class binding we can also use ! symbol. Notice in the example below applyBoldClass is set to false. Since we have used ! in the class binding the class is added as expected. import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` [button class='colorClass' [class.boldClass]='!applyBoldClass']My Button[/button] ` }) export class AppComponent { applyBoldClass: boolean = false; } You can also removed an existing class that is already applied. Consider the following example. Notice we have 3 classes (colorClass, boldClass & italicsClass) added to the button element using the class attribute. The class binding removes the boldClass. import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` [button class='colorClass boldClass italicsClass' [class.boldClass]='applyBoldClass']My Button[/button] ` }) export class AppComponent { applyBoldClass: boolean = false; }
Views: 88809 kudvenkat
Angular dev build vs prod build
 
10:46
In this video we will discuss the differences between a development build and a production build in angular. To generate a development build we can use either ng build OR ng build --dev To generate a production build we use ng build --prod Here are some of the differences between a development build and a production build in angular. Source Maps : Development build generate Source Maps where as production build does not. What are Source Maps To improve the performance, the application's JavaScript and CSS files are combined and compressed. It is extremely difficult to debug those compressed files. A source map holds information about the original files and can be used to map the code within a compressed file back to it’s original position in a source file. So with the help of these source maps we can easily debug our applications even after the the files are compressed and combined. By default, a development build produce source maps where as a production build does not. However, we can change this default behaviour by using --sourcemaps option along with the ng build command. It's alias is -sm. The following command produces a development build without source maps as we have set -sm option to false ng build --dev -sm false On the other hand, if you want source maps along with your production build set -sm option to true as shown below. ng build --prod -sm true Extracts CSS : With the development build global styles are extracted to .js files where as with the production build they are extracted to .css files. To change this default behaviour use --extract-css option or it's alias -ec with the ng build command. The following command produces a development build with global styles extracted to .css file(s) instead of .js ones. ng build --dev -ec true Minification & Uglification : A Prod Build is both minified and uglified, where as a Dev Build is not. What is Minification The process of removing excess whitespace, comments, and optional tokens like curly brackets and semicolons is called Minification. What is Uglification The process of transforming code to use short variable and function names is called uglification. The minified and uglified version of the file is smaller in size than the full version, resulting in faster response times and lower bandwidth costs. If you look at the bundles generated by the prod build, you will notice that they are minified and uglified. Notice, extra whitespaces, comments, and optional tokens like curly brackets and semicolons are removed. Also notice, the code is transformed by using short variable and function names. On the other hand, the bundles generated by the dev build, are not minified and uglified. Tree Shaking : A Prod build is Tree Shaked, where as a Dev build is not. What is Tree Shaking Tree shaking is the process of removing any code that we are not actually using in our application from the final bundle. It's one of the most effective techniques to reduce the application size. If you look at the bundles generated by the production build, they are significantly less in size compared with the bundles generated by the development build. This is beacause with the production build the code is tree shaked to remove dead code i.e the code that is not referenced by the application. Ahead-of-Time (AOT) Compilation : With a production build we get AOT (Ahead-of-Time) compilation, i.e the Angular component templates are pre-compiled, where as with a development build they are not. We will discuss Ahead-of-Time compilation in detail in our next video. The following table summarises the differences between a development build and a production build Feature Development Build Production Build Source Maps Yes No Extracts CSS .js file .css file Minifaction No Yes Uglification No Yes Tree Shaking No Yes AOT No Yes Text version of the video http://csharp-video-tutorials.blogspot.com/2017/11/angular-dev-build-vs-prod-build.html Slides http://csharp-video-tutorials.blogspot.com/2017/11/angular-dev-build-vs-prod-build-slides.html Angular CLI Tutorial https://www.youtube.com/watch?v=rJ9o4TyhSuo&list=PL6n9fhu94yhWUcq5Pc16uf8YKXoZ87Vh_ Angular CLI Text articles & Slides http://csharp-video-tutorials.blogspot.com/2017/10/angular-cli-tutorial-for-beginners.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 17298 kudvenkat
Angular forms tutorial
 
17:29
In Part 2 of Angular CRUD tutorial, we discussed performing the READ operation. In this video and in the next few videos we will discuss performing the CREATE operation. To understand the CREATE operation, let us build a form that help us create a new employee. For this we will use the createEmployee component that we already created in one of our previous videos in this series. Along the way, we will also discuss performing validation and displaying meaningful error messages to the user. There are 2 ways to create forms in Angular 1. Template Driven Forms 2. Model Driven Forms (Commonly called Reactive Forms) Both these approaches have their own pros and cons. For example, Template Driven forms are generally used to create simple forms. On the other hand, Reactive forms are used to create complex forms. For example, if you want to add form controls dynamically or perform cross-field validation we use the Reactive forms approach. There are several other differences, between Template driven and Reactive forms. We will discuss those differences in detail, in a later video. In this video, we will use the Template driven approach to build the "Create Employee" form. As the name implies, template driven forms are heavy on the template. This means we do most of the work in the view template of the component. Design "Create Employee" form. To keep this simple, at the moment we only have 2 fields (Full Name & Email). We will add the other fields like Gender, Department, Phone Number etc.. later. Also, at the moment, we only have textboxes on our form. In our upcoming videos we will discuss working with radio buttons, checkbox, dropdownlist etc For the form HTML, please refer to our blog using the below link. http://csharp-video-tutorials.blogspot.com/2017/12/angular-forms-tutorial.html Code Explanation: We are using Bootstrap CSS classes like panel, panel-primary, panel-heading, panel-title etc to style the form. There is no Angular here. If you are new to bootstrap, please click here to check out our Bootstrap tutorial using the following link http://csharp-video-tutorials.blogspot.com/2016/05/bootstrap-tutorial-for-beginners.html Consider the following line of code [form #employeeForm="ngForm" (ngSubmit)="saveEmployee(employeeForm)"] #employeeForm is called the template reference variable. Notice we have assigned "ngForm" as the value for the template reference variable employeeForm. So employeeForm variable holds a reference to the form. When Angular sees a form tag, it automatically attaches the ngForm directive to it. The ngForm directive supplements the form element with additional features. It holds all the form controls that we create with ngModel directive and name attribute, and monitors their properties like value, dirty, touched, valid etc. The form also has all these properties. We will discuss these properties at the individual control level and at the form level in detail in our upcoming videos. The ngSubmit directive submits the form when we hit the enter key or when we click the Submit button. When the form is submitted, saveEmployee() method is called and we are passing it the employeeForm. We do not have this method yet. We will create it in the component class in just a bit. The ngForm directive is provided by Angular FormsModule. So for us to be able to use it, we will have to import the FormsModule in our AppModule file (app.module.ts). So please make sure to include the following import statement. Also include "FormsModule" in the imports array of @NgModule decorator. import { FormsModule } from '@angular/forms'; If "FormsModule" is not imported you will see the following error in the browser developer tools there is no directive with exportas set to ngform The ngModel directive is used for creating two-way data binding i.e to keep the HTML element value and it's corresponding component property in sync. We discussed two-way data binding in detail in our Angular 2 course. Use the link below to watch two-way data binding video. https://www.youtube.com/watch?v=aBf1nLGuVz8&index=15&list=PL6n9fhu94yhWqGD8BuKuX-VTKqlNBj-m6 Text version of the video http://csharp-video-tutorials.blogspot.com/2017/12/angular-forms-tutorial.html Slides http://csharp-video-tutorials.blogspot.com/2017/12/angular-forms-tutorial-slides.html Angular CRUD Tutorial https://www.youtube.com/watch?v=rJ9o4TyhSuo&list=PL6n9fhu94yhWUcq5Pc16uf8YKXoZ87Vh_ Angular CRUD Tutorial Text Articles & Slides http://csharp-video-tutorials.blogspot.com/2017/12/angular-crud-tutorial.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 48350 kudvenkat
AngularJS Quiz App Tutorial (23/24) - More Work with ng if directive
 
05:03
The writeup for this video: https://hungryturtlecode.com/code-projects/angular-quiz-app/23-angular-ng-if/?utm_source=YouTube&utm_medium=VideoDescription&utm_campaign=quizapp23 Part 1 of the Series: https://www.youtube.com/watch?v=yordL7Yczes&index=1&list=PLqr0oBkln1FBmOjK24_B4y_VAA8736wPq The Git Repo for this project: https://github.com/adiman9/HungryTurtleFactQuiz We are now up to the penultimate video in this series on AngularJS and in this part we are going to finish off the styling of the results section by allowing image based questions to display nicely and allow the correct styling on the images for when the answer is right and for when it is wrong. We will do this using the class method we created earlier and then use our own custom css to style that with the desired border. Support Me On Patreon https://www.patreon.com/hungryturtlecode One Off Donations: PayPal - https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9U29S2BET5K54 Credit / debit card - https://hungryturtlecode.com/donate Bitcoin: 39iDX27ZSkYtRhUrH5r5YN128wEjwDmSYp Ethereum: 0x38b3cBF8Ee3EeeeA33D1925bA0ce0e90c8EcFD46 ZenCash: znanBCHpWJecBwZZmft9r5QzbzRX4nQn6Dz Check Out The Site! https://hungryturtlecode.com/?utm_source=YouTube&utm_medium=VideoDescription&utm_campaign=quizapp23 SUBSCRIBE! http://www.youtube.com/hungryturtledev?sub_confirmation=1 Join the Community! Patreon - https://www.patreon.com/hungryturtlecode Follow Me -- https://twitter.com/hungryturtledev Like Me -- https://www.facebook.com/hungryturtlecode/ linkedin -- https://www.linkedin.com/company/hungry-turtle-code Github (Personal) -- https://github.com/adiman9 Github (Hungry Turtle Code) -- https://github.com/HungryTurtleCode
Views: 1955 Hungry Turtle Code
Angular 4 QuickStart Tutorial - Angular 4 Directives  (ngFor, ngif , ngClass, ngStyle )
 
10:29
In this angular 4 tutorial series we will be creating a new project using the angular 4 cli , show you an ngfor example by listing an array, and i will hide the array using ngif also we will take a look on ngclass and ngstyle, today it will be quick look into angular directives We will be using different structural directives in Angular 4 like ngIF, ngFor also we will be using attributes and property bind it like ngClass and ngStyle attributes. Structural and attribute directives which will be discussed in this tutorial: ngFor example as an angular list directive ngIf example ngClass ngStyle For each directive we will have in this tutorial an example: ngIf angular example, ngFor example, ngClass and ngStyle angular example.
Views: 8221 dotsway
Learn How to Use NG-STYLE with AngularJS
 
05:04
Learn How to Use NG-STYLE with AngularJS. Best Course To Learn React in 2018: https://click.linksynergy.com/fs-bin/click?id=KxXQN2CV9Bk&offerid=358574.7493&type=3&subid=0 Learn Advanced React and Redux: https://click.linksynergy.com/fs-bin/click?id=KxXQN2CV9Bk&offerid=358574.7494&type=3&subid=0 Take my course and learn JavaScript in 2018: https://theodoreanderson.teachable.com/p/introduction-to-javascript Best book to learn the MEAN Stack: http://amzn.to/2DqEf4s Best book on learning advanced JavaScript: http://amzn.to/2C2oEM8 My site: https://thejavascriptchronicles.com
Views: 715 Theodore Anderson
AngularJS 1, Building a Data-Driven App, Creating conditional styles
 
03:52
Sometimes, you need to be able to manage styles depending on what's going on with your application. Now, we can do that with a directive called ng-class. It can monitor the state of a variable and add a class to your application accordingly. So, what I want to do is create a class that, whenever we click on one of these elements, instead of just showing the element, it's going to expand this box all the way over. It's a little bit better to do that on these two column layouts. I think it's better to sort of expand and give you a little bit more room to see some of the things underneath, so let's go ahead and make this smaller for now while we work on this, and I'm going to start by going to checkinslist, and find this list item right here, where I go through each of the checkins, and what I'll do here is add another directive, this one's called ng-class, and then we can just put in a new variable, here. Under checkin, just like all the other ones, and we'll call this variable userState. So, this directive will add a class to this existing list item, depending on the value of user state, so let's go ahead and save this, and go back into our controller, and right where I'm going to show the love and I toggle that element showing or hiding, I'm going to add a conditional that is going to check for the value of user state, so when I call this function, I'm passing along this thing called myCheckin. So, I can put that in here, myCheckin, and it's going to receive.
Angular Material Custom Theme Tutorial
 
12:31
Angular Material is pretty powerful out of the box. But sometimes you want your own styles instead of the themes built into Angular Material. In this video, you'll learn how to quickly build your own theme. ---------- Build a complete Angular App with Angular Material, Angularfire, NgRx & More: https://www.udemy.com/angular-full-app-with-angular-material-angularfire-ngrx/?couponCode=ACAD_M Further Resources (incl. Link to Code): https://www.academind.com/learn/angular/angular-material-a-thorough-guide/custom-theme Want to learn something totally different? Check out all other courses: https://academind.com/learn/our-courses ---------- • You can follow Max on Twitter (@maxedapps). • And you should of course also follow @academind_real. • You can also find us on Facebook.(https://www.facebook.com/academindchannel/) • Or visit our Website (https://www.academind.com) and subscribe to our newsletter! See you in the videos! ---------- Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!
Views: 18101 Academind
Angular 2 Tutorial 9: styles property
 
06:03
Learn how to add styles into your component in Angular 2 and use CSS. Website: http://codedamn.com Forum: http://clan.codedamn.com
Views: 7410 codedamn
AngularJS Quiz App Tutorial (13/24) - ng-if Directive
 
07:34
The writeup for this video: https://hungryturtlecode.com/code-projects/angular-quiz-app/13-ng-if/?utm_source=YouTube&utm_medium=VideoDescription&utm_campaign=quizapp13 Part 1 of this series: https://www.youtube.com/watch?v=yordL7Yczes&index=1&list=PLqr0oBkln1FBmOjK24_B4y_VAA8736wPq The Git Repo for this project: https://github.com/adiman9/HungryTurtleFactQuiz As I briefly mentioned earlier in the series, we want to be able to display image based questions as well as questions with text. We have already taken care of the text based questions so now we can take a look at getting the image based questions sorted out. In the JSON for each question it will let us know if the question is image or text based. We can create the markup to display the image from the URL given in the image questions. But then we want only the text markup or only the image markup to display depending on which type of question it is. In other words, we do not want the text markup to display if it is an image question and vice versa. Angular allows us to conditionally render markup using another directive called ng-if. Ng-if takes an expression and evaluates it. If it evaluates to true it will render that element out as normal but if it evaluates to false it will not even print that element on to the screen at all. Support Me On Patreon https://www.patreon.com/hungryturtlecode One Off Donations: PayPal - https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9U29S2BET5K54 Credit / debit card - https://hungryturtlecode.com/donate Bitcoin: 39iDX27ZSkYtRhUrH5r5YN128wEjwDmSYp Ethereum: 0x38b3cBF8Ee3EeeeA33D1925bA0ce0e90c8EcFD46 ZenCash: znanBCHpWJecBwZZmft9r5QzbzRX4nQn6Dz Check Out The Site! https://hungryturtlecode.com/?utm_source=YouTube&utm_medium=VideoDescription&utm_campaign=quizapp13 SUBSCRIBE! http://www.youtube.com/hungryturtledev?sub_confirmation=1 Join the Community! Patreon - https://www.patreon.com/hungryturtlecode Follow Me -- https://twitter.com/hungryturtledev Like Me -- https://www.facebook.com/hungryturtlecode/ linkedin -- https://www.linkedin.com/company/hungry-turtle-code Github (Personal) -- https://github.com/adiman9 Github (Hungry Turtle Code) -- https://github.com/HungryTurtleCode
Views: 3264 Hungry Turtle Code
How to set Angular 5 Styling
 
04:01
How to use external GUI in Angular 5/4 . Kendo UI is the very helpful for Angular 5, React & Vue Js Please Subscribe if you Like You can also find me: https://twitter.com/SUDOARSDEV
Views: 223 HackerO Dev
Difference between AngularJS, Angular 2 and Angular 4
 
08:01
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/09/difference-between-angularjs-angular-2.html Slides http://csharp-video-tutorials.blogspot.com/2017/09/difference-between-angularjs-angular-2_13.html Angular 2 Tutorial playlist https://www.youtube.com/playlist?list=PL6n9fhu94yhWqGD8BuKuX-VTKqlNBj-m6 Angular 2 Text articles and slides http://csharp-video-tutorials.blogspot.com/2017/06/angular-2-tutorial-for-beginners_12.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists So far Google has released 3 versions of Angular Version Year ------------ ------ AngularJS 2010 Angular 2 2016 Angular 4 2017 What is the difference between AngularJS and Angular 2 The first version of Angular is called AngularJS and was released in the year 2010. Some people call it Angular 1, but it is officially called AngularJS. Angular 2 is released in the year 2016. The most important thing to keep in mind is that, Angular 2 is not a simple upgrade from angular 1. Angular 2 is completely rewritten from the ground up and as a result the way we write applications with AngularJS and Angular 2 is very different. From a performance standpoint, Angular 2 is 5 times faster compared to AngularJS. AngularJS was not built for mobile devices, where as Angular 2 on the other hand is designed from the ground up with mobile support in mind. With Angular 2 we have more language choices. In additon to nativa JavaScript we can use TypeScript, Dart, PureScript, Elm, etc. Angular 4 is released in 2017. So, What is the difference between Angular 2 and Angular 4 If you have worked with both Angular 1 and Angular 2, then you already know that the API's and patterns that we use to build applications are very different between these 2 versions. From a developer stand point, it is like learning 2 different frameworks. Since Angular 2 is a complete rewrite from Angular 1, moving from Angular 1 to Angular 2 is a total breaking change. However, changing from Angular 2 to Angular 4 and even future versions of Angular, won’t be like changing from Angular 1. It won’t be a complete rewrite, it will simply be a change in some core libraries. From a developer standpoint, building an application using Angular 2 and Angular 4 is not very different. We still use the same concepts and patterns. Angular 4 is simply, the next version of Angular 2. The underlying concepts are still the same and if you have already learnt Angular 2 then you’re well prepared to switch to Angular 4. The most important point to keep in mind is, Angular 4 is backwards compatible with Angular 2 for most applications. What has changed and what is new in Angular 4 Some under the hood changes to reduce the size of the AOT (Ahead-of-Time) compiler generated code. Migrating to Angular 4 may reduce the production bundles by hundreds of kilobytes. As a developer this change will not affect the way we write angular applications in any way. TypeScript 2.1 and 2.2 compatibility. Angular is updated with a more recent version of TypeScript, for better type checking throughout our application. Up until Angular 4, only TypeScript 1.8 was supported. With Angular 4, we can use typescript 2.1 or 2.2 which means we can use all the new features of TypeScript with Angular 4. Animation features are pulled out of @angular/core and are moved into their own package. This means that if you don’t use animations, this extra code will not end up in your production bundles. On the other hand, if you do have animations in your application, you may have to change your existing code to pull the animation features from the animations package. We can now use an if/else style syntax with *ngIf structural directive. In Angular 2, to implement if/else logic, we use 2 *ngIf structural directives. With Angular 4, we can use it's new if/else style syntax with *ngIf structural directive. We will discuss an example of this in our upcoming videos. What happened to Angular 3. Why did we move straight from Angular 2 to Angular 4. What is the reason for skipping Angular 3. Except the Router library, all the other Angular core libraries are versioned the same way and are shipped as NPM packages as you can see below. While all the other core angular packages are at Version 2, the router library is already at Version 3. Due to this misalignment of the router package’s version, the angular team decided to go straight for Angular v4. This way, all the core packages are aligned which will be easier to maintain and help avoid confusion in the future. Common Questions Do I have to learn AngularJS 1 before learning Angular 2 Do I have to learn Angular 2 before learning Angular 4
Views: 81541 kudvenkat
AngularJS page refresh problem
 
03:08
Resource interpreted as Stylesheet but transferred with MIME type text/html angularjs html5mode refresh 404 angularjs refresh page 404 angularjs routing refresh uncaught syntaxerror unexpected token angularjs In this video we will discuss page refresh issue that may arise when you refresh the page by pressing CTRL + F5 or CTRL + R. This is continuation to Part 30. Please watch Part 30 from AngularJS Tutorial before proceeding. What is the issue : When you navigate to http://localhost/students, you will see list of students. Click on any student name. For example when you click on Mark, you will see mark details and the URL in the address bar is http://localhost/students/1 At this point if you refresh the page by pressing CTRL + F5 or CTRL + R, the student details disappear and we also loose the page styles. To see the errors, launch the Browser Developer Tools by pressing F12. To fix this issue all you have to do is place the base href="/" element just below the title element in the head section of index.html page. Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2016/03/angularjs-page-refresh-problem.html
Views: 102818 kudvenkat
Angular 2: Attribute Directives, ngClass, ngStyle
 
06:14
Attribute directives are designed to change the appearance or behavior of the DOM elements that they are attached to. In this lecture, you will learn how to use inbuilt ngClass and ngStyle attribute directives.
Views: 3556 GeekHours
AngularJS: ng-if, ng-repeat, ng-show, ng-hide and Bootstrap CSS framework integration
 
53:00
Covers the following: -How to do a simple search for records using AJAX together with AngularJS -How to integrate Bootstrap CSS framework as part of AnguarJS application -How to use ng-if, ng-show and ng-hide -Differences between ng-if and ng-show/ng-hide -How to work with ng-repeat -How to display multiple records using ng-repeat -How to fetch multiple rows through AJAX and bind using ng-repeat -How to make using ng-if/ng-show inside ng-repeat -Inspect various scope object when dealing with ng-if and ng-show Source code: http://www.techcbt.com/Post/354/Angular-JS-basics/how-to-work-with-ng-if-ng-repeat-bootstrap-in-angular-js
Views: 36853 Tech CBT
Learn AngularJS Function (ng style) Easily
 
01:22
Learn AngularJS Function (ng style) Easily
Views: 63 Dr Hydrogen
Using Bootstrap with Angular
 
36:32
#1 Online Course: Angular 2 - The Complete Guide (http://codingthesmartway.com/courses/angular2-complete-guide) Premium Angular 2 Bootstrap Theme: http://codingthesmartway.com/themes/creativetim/ Using Bootstrap with Angular Bootstrap is the most popular HTML, CSS, and JavaScript framework for web front-end development. It's great for developing responsive, mobile-first web sites. The Bootstrap framework can be used together with modern JavaScript web & mobile frameworks like Angular. In the this tutorial you'll learn how to use the Bootstrap framework in your Angular project. Furthermore we'll take a look at the Ng-Bootstrap project which delivers Angular Bootstrap components which can be used out of the box. This is a CodingTheSmartWay.com tutorial Support us with just one cup of coffee: https://www.buymeacoffee.com/ctsw --------------------- Musik: Night Owl by Broke For Free is licensed under a Creative Commons Attribution License. (http://freemusicarchive.org/music/Broke_For_Free/Directionless_EP/Broke_For_Free_-_Directionless_EP_-_01_Night_Owl) DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, we’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for the support!
Views: 101574 CodingTheSmartWay.com
Angular 4 Class Binding
 
04:06
This video is from my Free Angular 4 Course: https://goo.gl/T5fqeB Written tutorial: https://goo.gl/7bXgqe http://coursetro.com for more! - - - - - - - - - - - - - - - - - - - - - - Subscribe for NEW VIDEOS weekly! My site: https://coursetro.com My personal FB account: http://fb.com/logodesigner Coursetro FB: http://fb.com/coursetro Coursetro's Twitter: http://twitter.com/designcoursecom Join my Discord! https://discord.gg/a27CKAF ^-Chat with me and others - - - - - - - - - - - - - - - - - - - - - - Who is Gary Simon? Well, I'm a full stack developer with 2+ decades experience and I teach people how to design and code. I've created around 100+ courses for big brands like LinkedIn, Lynda.com, Pluralsight and Envato Network. Now, I focus all of my time and energy on this channel and my website Coursetro.com. Come to my discord server or add me on social media and say Hi!
Views: 12730 DesignCourse
Angular 4 Tutorial 8: *ngIf and ng-template
 
07:57
Learn what *ngIf is and how to make use of it to dynamically toggle ng-template stuff. Full Angular 4 Playlist: https://www.youtube.com/playlist?list=PLYxzS__5yYQmi8f94KAGx1ofwFIn-FLNt codedamn is a now free platform for developers to learn and establish their credibility. Ready to be among developers? Register now! https://codedamn.com
Views: 31569 codedamn
💥 Angular Directives Tutorial For Beginners - Style Angular Components - ngClass and NgStyle
 
03:03
Check out our Angular for Beginners Free Course - https://angular-university.io/course/getting-started-with-angular2?utm=yt-free-course This Angular Tutorial is an overview of how to use the ngClass and ngStyle Directives when to use which, and alternative syntax in case we only to modify one property/style. For more videos tutorials on Angular, have a look at the courses available in the Angular University - https://angular-university.io Follow us: Twitter - https://twitter.com/AngularUniv Google+ - https://plus.google.com/u/1/113731658724752465218 Facebook - https://www.facebook.com/angular.university Check out the PDF E-Books available at the Angular University - https://angular-university.io/my-ebooks
Views: 1302 Angular University
Digging into Angular Style Guide Decisions - John Papa
 
18:42
www.ng-conf.org ng-conf is a two day, single track conference focused on delivering the highest quality training in the Angular JavaScript framework. 500 to 700 Developers from across the country will converge on beautiful Salt Lake City, UT to participate in training sessions by the Google Angular team, and other Angular experts. In addition to the invaluable training, ng-conf will deliver a premier conference experience for attendees, providing opportunities to network with other developers, relax at social events, and engage in some of the unique entertainment opportunities available in Utah.
Views: 16690 ng-conf
AngularJS Quiz App Tutorial (3/24) - Data Binding and Bootstrap Markup
 
13:07
The writeup for this video: https://hungryturtlecode.com/code-projects/angular-quiz-app/3-ng-repeat-directive/?utm_source=YouTube&utm_medium=VideoDescription&utm_campaign=quizapp3 Part 1 of this series: https://www.youtube.com/watch?v=yordL7Yczes&list=PLqr0oBkln1FBmOjK24_B4y_VAA8736wPq&index=1 The Git Repo for this project: https://github.com/adiman9/HungryTurtleFactQuiz This series focuses totally on the front end angular implementation of the quiz app. However, we still need to have some data for our quiz. This data would typically be retrieved from an API on the backend. But for our purposes we are just going to add the data directly into our application. Once we have some data we can start styling out the list of turtles on the main page of the application. We will be using bootstrap to style everything just to allow us to focus only on the logical implementation of the app and not on the look and feel of the app. Bootstrap allows us to do this very easily. If you would rather style it your own way manually or using a different framework then feel free to do that instead. The angular implementation will be the same. Support Me On Patreon https://www.patreon.com/hungryturtlecode One Off Donations: PayPal - https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9U29S2BET5K54 Credit / debit card - https://hungryturtlecode.com/donate Bitcoin: 39iDX27ZSkYtRhUrH5r5YN128wEjwDmSYp Ethereum: 0x38b3cBF8Ee3EeeeA33D1925bA0ce0e90c8EcFD46 ZenCash: znanBCHpWJecBwZZmft9r5QzbzRX4nQn6Dz Check Out The Site! https://hungryturtlecode.com/?utm_source=YouTube&utm_medium=VideoDescription&utm_campaign=quizapp3 SUBSCRIBE! http://www.youtube.com/hungryturtledev?sub_confirmation=1 Join the Community! Patreon - https://www.patreon.com/hungryturtlecode Follow Me -- https://twitter.com/hungryturtledev Like Me -- https://www.facebook.com/hungryturtlecode/ linkedin -- https://www.linkedin.com/company/hungry-turtle-code Github (Personal) -- https://github.com/adiman9 Github (Hungry Turtle Code) -- https://github.com/HungryTurtleCode
Views: 11333 Hungry Turtle Code
Angular 2 Tutorial - 9 - Class and Style Bindings
 
04:15
Facebook - https://www.facebook.com/codevolutionweb Github - https://github.com/gopinav Class and Style Bindings in Angular 2 Angular 2 | Angular 2 Tutorials | Angular 2 Tutorial for Beginners | Angular 2 Class and Style Bindings
Views: 46077 Codevolution
Angular5 - Style Binding Tutorial
 
05:22
Angular 4 / 5 - How to perform Style Binding using ngStyle directive
Views: 613 Coders Range
[Tutorial6 AngularJS] Colorate HTML using "Ng- Style" and "Ng-Click" directives of AngularJS
 
00:52
How to colorate Text and Background of a sentence using "Ng Style" and "Ng Click" directives of AngularJS. You can find the source code in this link : https://mega.nz/#F!AZ4WAALT!vJ2Ie0TNdmYFfXpl_50NOA
Views: 320 ABDELJELIL Skandar
Angular Material - Part 4: Data Table
 
27:30
#1 Online Course: Angular - The Complete Guide (http://codingthesmartway.com/courses/angular2-complete-guide/) This is the fourth part of the Angular Material series on CodingTheSmartWay.com. In this part we'll be focusing on Data Tables. Of course this part again assumes that you're familiar with the Angular Material library in general and that you know how to setup an Angular project and install the Angular Material library in that project. If you're new to Angular Material please first take a look at the first part of this series: Angular Material - Part 1 Introduction (http://codingthesmartway.com/angular-material-introduction/). If you want to learn about Angular Material Dialogs, Tooltips and SnackBars you should also check out the second part (http://codingthesmartway.com/angular-material-part-2-popups-modals-dialogs-tooltips-and-snackbars/). For Angular Material Navigation elements (Menus, Sidenavs and Toolbars) check out the third part (https://codingthesmartway.com/angular-material-part-3-navigation-menus-sidenavs-and-toolbars/). Code: https://github.com/seeschweiler/angular-material-04 Demo: http://ngmaterial04.surge.sh This is a CodingTheSmartWay.com tutorial Support us with just one cup of coffee: https://www.buymeacoffee.com/ctsw --------------------- Musik: Night Owl by Broke For Free is licensed under a Creative Commons Attribution License. (http://freemusicarchive.org/music/Broke_For_Free/Directionless_EP/Broke_For_Free_-_Directionless_EP_-_01_Night_Owl) DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, we’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for the support!
Views: 48761 CodingTheSmartWay.com
Customizing Angular 5 Material Themes
 
17:14
Written tutorial: https://goo.gl/wp5vqZ My UI Design Course: https://goo.gl/E6KWDg Angular 5 Material Tutorial: https://www.youtube.com/watch?v=2osMpXOe5fA Learn how to create custom Angular 5 Material themes in this tutorial. https://coursetro.com http://facebook.com/coursetro - - - - - - - - - - - - - - - - - - - - - - Subscribe for NEW VIDEOS weekly! My site: https://coursetro.com My personal FB account: http://fb.com/logodesigner Coursetro FB: http://fb.com/coursetro Coursetro's Twitter: http://twitter.com/designcoursecom Join my Discord! https://discord.gg/a27CKAF ^-Chat with me and others - - - - - - - - - - - - - - - - - - - - - - Who is Gary Simon? Well, I'm a full stack developer with 2+ decades experience and I teach people how to design and code. I've created around 100+ courses for big brands like LinkedIn, Lynda.com, Pluralsight and Envato Network. Now, I focus all of my time and energy on this channel and my website Coursetro.com. Come to my discord server or add me on social media and say Hi!
Views: 23000 DesignCourse
Angular 2 Preparation - EPISODE 2/6 - Style Guide Implementation
 
06:28
This video is part of a free online course about preparing for Angular 2, If you like it - LIKE IT, SHARE IT & SUBSCRIBE ♥ The Angular style guide contains a lot of good rules to follow. In this video we'll cover 3 of them and see how they help us refactor our code to look more like the future Angular 2 code. TOPICS - ✔ What is the Angular Style Guide ✔ What are the 3 principles we need to implement ✔ What is IIFE? ✔ How Angular 2 Dependency Injection will look like ✔ Weird Stuff ABOUT THIS COURSE ---------------------------------- Angular 2 is exciting, and brings lots of new concepts which replace old ones. In this free video course we'll go over the basic changes and best practices we need to implement in our angular 1.x code in order to prepare it for the future migration to Angular 2. John Papa's Style Guide - https://github.com/johnpapa/angular-styleguide Todd Motto's Style Guide - https://github.com/toddmotto/angularjs-styleguide The Angular 2 Example - https://github.com/angular/angular/blob/master/modules/examples/src/todo/index.ts For more videos in this free video course join: http://HiRez.io ♥ SUBSCRIBE! http://www.youtube.com/subscription_center?add_user=hirezio Credits: Misko Hevery for willing to play along with my weird video ideas :) ♥ Twitter: https://twitter.com/hirez_io ♥ LIKE & SHARE ----------------------------------------------- ♥ Join: http://HiRez.io
Views: 4981 HiRez.io
Angular Video 3: Theming with Style: How to Customize Your Kendo UI Angular App
 
12:14
Our Buttons are looking pretty good as is. But what if we wanted to customize them? Where would we even get started? Find out the answers to these questions, along with other input related ones in this third episode of the Angular and Kendo UI video course. Resources: • Code on Github: https://github.com/alyssamichelle/angular-kendo-unite/tree/video-3 • Kendo UI for Angular: https://www.telerik.com/kendo-angular-ui • Kendo UI Styling Docs: https://www.telerik.com/kendo-angular-ui/components/styling/ • List of Modifiable Variables: https://www.telerik.com/kendo-angular-ui-develop/components/styling/theme-material/customization/ • All Modifiable SASSY Variable Lists: https://www.telerik.com/kendo-angular-ui-develop/components/styling/#toc-customizing-themes • Complete Getting Started Tutorial: https://www.telerik.com/campaigns/kendo-ui/using-kendo-ui-with-angular-video-tutorial
Views: 513 Kendo UI
Displaying angular form validation error messages
 
10:00
In this video we will discuss 1. How to display validation error messages to the user 2. Style the error messages using Bootstrap 3. How to disable Submit button if the form is not valid Text version of the video http://csharp-video-tutorials.blogspot.com/2018/01/displaying-angular-form-validation.html Slides http://csharp-video-tutorials.blogspot.com/2018/01/displaying-angular-form-validation_31.html Angular CRUD Tutorial https://www.youtube.com/watch?v=rJ9o4TyhSuo&list=PL6n9fhu94yhWUcq5Pc16uf8YKXoZ87Vh_ Angular CRUD Tutorial Text Articles & Slides http://csharp-video-tutorials.blogspot.com/2017/12/angular-crud-tutorial.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 23356 kudvenkat
TECH TALKS: Angular Tricks: Data visualization in Angular JS and using ng-style
 
09:03
Fullstack Academy was recently ranked the #1 coding bootcamp in the U.S. Become a software developer...from amateur to professional...in 13 weeks. Learn more at www.fullstackacademy.com.
Views: 383 Fullstack Academy
Conditional Attributes, Styles, and Classes in Ionic
 
11:32
In this video tutorial, we take a look at how to conditionally apply attributes, styles, and classes to elements in Ionic . Blog post: https://www.joshmorony.com/conditional-attributes-styles-and-classes-in-ionic-2/ Learn Ionic: https://www.joshmorony.com/building-mobile-apps-with-ionic-2/
Views: 9753 Joshua Morony
Bossable.com - MEAN Stack: 26 - Style our AngularJS Create Modal & Delete Customers
 
12:40
Learn how to build a MEAN Stack (MongoDB, Express, AngularJS, NodeJS) app! Tutorial Series: Step 26/30 - Style our AngularJS Create Modal & Delete Customers. Want to build scalable web apps quickly and easily? Check out the MEAN stack, a collection of technologies that fit together to provide a solution that allows for a full-stack JavaScript implementation of web applications. If you like it, please share it! --- This Video Tutorial: In this video we'll style our AngularJS Create Customer Modal, and create our first customer using our new Modal. We'll then add functionality to delete Customers from our list. This video is further explained over on the bossable.com site: http://www.bossable.com/719/mean-stack-angularjs-create-modal-delete We look at: - A quick recap of opening up our new Create Customer Modal - Changing the ng-class reference for the Referred field (from danger to pink) - Making the Surname field a required field - Creating a reference from our model fields back to our controller - Creating a new customer using our Create Customer Modal - Checking our console logs to tell if our record was saved - Refreshing the page to show our new customer record - The functions that are still missing from our Controllers - Adding 'Delete' functionality to our controller - Adding a new button with ng-click to call the delete functionality - Deleting a customer record from our list of customers Thanks for viewing. I really appreciate any feedback you have. Also check out my 30 Day MEAN Stack Challenge - videos on YouTube everyday for 30 days to create a MEAN.js App - videos are up on http://www.bossable.com --- Playlist - https://www.youtube.com/playlist?list=PL6rhBJX0L3TWYrwrQIi1_MzQDvVhkUVPI ------ Subscribe: http://youtube.com/c/Bossable?sub_confirmation=1 Facebook: https://www.facebook.com/pages/Bossable/1681997998694376 Google+: https://www.google.com/+Bossable Twitter: https://twitter.com/ShristiSharma_ About & Contact: http://www.bossable.com/say-hello/
Views: 4469 Bossable
Angular 5 Tutorial in Hindi Part 9: CSS Class Binding In Angular 5 in Hindi
 
13:28
Welcome Developers, we will see CSS Class Binding In Angular 5 in Hindi and we will only see the CSS classes how to remove or add at runtime. It's easy to bind CSS classes to elements in your Angular 5 templates. You provide a class name with class.className between brackets in your templates and then an expression on the right that should evaluate to true or false to determine if the class should be applied. Class binding You can add and remove CSS class names from an element's class attribute with a class binding. Class binding syntax resembles property binding. Instead of an element property between brackets, start with the prefix class, optionally followed by a dot (.) and the name of a CSS class: [class.class-name]. Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines. Don't Forget to Follow me on all Social Network, Instagram Link: https://www.instagram.com/vinodthapa55 Facebook Link: https://www.facebook.com/vinodthapa55 Twitter Link: https://twitter.com/vb55thapa Facebook ThapaTechnical Page Link: https://www.facebook.com/vinodbahadur...
Views: 2236 Thapa Technical
9. Angular 2 \ 4 Tutorials For Beginners | Using ngClass, ngStyle and style
 
10:45
Complete Playlist - Angular 2 \ 4 Tutorials For Beginners https://www.youtube.com/playlist?list=PLnObopLrGSq7IlDrq3AMv3qu3o-9i5PiG Complete Playlist - ReactJS \ React JS Tutorial For Beginners https://www.youtube.com/playlist?list=PLnObopLrGSq6hs6dMaZXYoBOSldhjsaH2 Complete Playlist - Webpack tutorial for beginners https://www.youtube.com/playlist?list=PLnObopLrGSq6w9-Bb9B6GGE5TVdZ_eCGz Complete Playlist - Connecting to MS SQL database hosted in web hosting server(like godaddy / hostgator / plesk) using webservice / JSON in Visual Studio 2015 https://www.youtube.com/playlist?list=PLnObopLrGSq7tknkyFRVJf8fgylfXmhZT YouTube : https://www.youtube.com/megharajdeepak Twitter : https://twitter.com/megharajdeepak LinkedIn : https://www.linkedin.com/in/megharajdeepak
Views: 451 Deepak MS
Angular CLI configuration file
 
11:25
In this video we will discuss the significance of the Angular CLI configuration file (.angular-cli.json). This is the configuration file that the Angular CLI uses. The settings from this file are used when we 1. Generate angular features likes components, pipes, services etc 2. Run unit and end-to-end tests 3. Build the application etc. We will be revisiting this file many times as we progress through this Angular CLI course. The table below shows some of the settings and their purpose. We will discuss the other settings and their purpose as we progress through the course. project : name Name of the project apps: root - The root directory of the application. Default is src. We can change this using the "source-dir" option when generating a new angular project using the "ng new" command apps: outDir - The output directory for build results. Default is dist apps: assets - List of application assets that you want to copy when building your project. By default, the src/assets/ folder and src/favicon.ico are copied over apps: index - The name of the start HTML file which is index.html by default apps: main - The name of the main entry-point file. main.ts by default apps: polyfills - The name of the polyfills file. Angular is built on the latest standards of the web platform. Targeting such a wide range of browsers is challenging because not all browsers support all features of modern browsers. This can be compensated by using polyfill scripts that implement missing features in JavaScript apps: styles - Global styles to be included in the build. Default is styles.css. We can also use less or scss. To change to less or scss, use the "style" option when generating a new angular project using the "ng new" command apps: prefix - The selector prefix to apply for the generated components. Default is "app". This can be changed by using the "prefix" option when generating a new angular project using the "ng new" command The important point to take away is that the values in the Angular CLI configuration file depends on the options that you have used with the "ng new" command when generating a new angular project. For example, if you do not use the --prefix option with the "ng new" command, then the default value "app" is stored in the configuration file for "prefix" setting. So the root component (AppComponent) that is created at the application generation time has "app" as the selector prefix. Instead if you want "pragim" as the prefix, use --prefix flag along with "ng new" command. When you do this several things happen 1. "pragim" is stored as the "prefix" setting value in .angular-cli.json configuration file 2. "pragim" is used as the selector prefix for the root component that the "ng new" command generates 3. Any new component that you generate in the future using the following command will also have "pragim" as the selector prefix ng generate component componentName 4. If you want to override the prefix setting in the angular cli configuration file, you can use --prefix option with the generate command as shown below. This will generate the component "xyz" with the prefix "tech" instead of "pragim"ng generate component xyz --prefix tech 5. Some of the options like --prefix can be used with several commands like ng new and ng generate Please note : If you generate a project with --skip-install flag and when you try to generate a new component using "ng new" command before executing the "npm install" command you will get the following error node_modules appears empty you may need to run npm install To fix this, please first execute "npm install" to install the required npm packages and then generate the component. Text version of the video http://csharp-video-tutorials.blogspot.com/2017/10/angular-cli-configuration-file.html Slides http://csharp-video-tutorials.blogspot.com/2017/10/angular-cli-configuration-file-slides.html Angular CLI Text articles & Slides http://csharp-video-tutorials.blogspot.com/2017/10/angular-cli-tutorial-for-beginners.html Angular CLI Tutorial https://www.youtube.com/watch?v=rJ9o4TyhSuo&list=PL6n9fhu94yhWUcq5Pc16uf8YKXoZ87Vh_ All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 22709 kudvenkat
AngularJS Tutorial - Part 3
 
01:15:01
This is the AngularJS tutorial. This covers the below listed built-in directives. ng-if It is used to remove or recreate an element in the DOM depending on an expression ng-switch It is used to conditionally switch control based on matching expression. ng-model It is used to bind an input,select, textarea etc elements with model property. ng-readonly It is used to set readonly attribute to an element. ng-repeat It is used to loop through each item in collection to create a new template. ng-selected It is used to set selected option in select element. ng-show/ng-hide It workes based on expression, if true then the element is shown or hidden respectively. ng-src It is used to dynamically bind AngularJS variables to the src attribute. ng-submit It is used to bind angular expressions to onsubmit events. ng-value It is used to bind angular expressions to the value of option. ng-required It is used to bind angular expressions to onsubmit events. ng-style It is used to set CSS style on an HTML element conditionally. ng-pattern It is used to add the pattern validator to ngModel. ng-maxlength It is used to adds the maxlength validator to ngModel. ng-minlength It is used to adds the minlength validator to ngModel. ng-classeven It works in conjunction with ngRepeat and take effect only on odd (even) rows. ng-classodd It works in conjunction with ngRepeat and take effect only on odd (even) rows. ng-cut It is used to specify custom behavior on cut event. ng-copy It is used to specify custom behavior on copy event. ng-paste It is used to specify custom behavior on paste event. ng-options It is used to dynamically generate a list of option elements for the select element. ng-list It is used to convert string into list based on specified delimiter. ng-open It is used to set the open attribute on the element, if the expression inside ngOpen is truthy. The demo source code is available in below GitHub https://github.com/sunrisetechdoc/AngularJS Email ID: [email protected]
Angular CLI project structure   2
 
07:27
In this video we will discuss the "src" folder and it's contents src folder : As the name implies, this folder contains all our angular project source code. Components, templates, pipes, services, images, styles etc that our angular application needs are present in this folder. The rest of the files and folders that are present outside this folder, are there to support building our angular application. assets : As the name implies, the assets folder contains the assets of your application like images and anything else to be copied when you build your application. environments : This folder contains the environment files. By default we have 2 environment files. environment.ts is for for development environment. Notice production property in this file is set to false. environment.prod.ts is for production. Notice in this file production property is set to true as expected. The build system defaults to the dev environment which uses `environment.ts`, but if we do a production build environment.prod.ts will be used. The file and environment mapping is in Angular CLI configuration file (.angular-cli.json) favicon.ico : This is the favorite icon for your application which is typically displayed in the browser address bar and next to the page name in a list of bookmarks. Angular CLI provides this favorite icon out of the box. You may replace this favicon with your own company favicon. index.html : The main HTML page that is served when someone visits your site. main.ts : The main entry point for the application. This file contains the code to bootstrap the application root module (AppModule) polyfills.ts : This is the polyfills file. Angular is built on the latest standards of the web platform. Targeting such a wide range of browsers is challenging because not all browsers support all features of modern browsers. This can be compensated by using polyfill scripts as they implement the missing features in JavaScript. So these polyfills allow us to use an API regardless of whether it is supported by a browser or not. styles.css : This file contains the global styles of our application. Styles that are local and specific to a component are often defined with in the component itself for easier maintenance. test.ts : This file is the main entry point for unit tests and loads all the .spec and framework files tsconfig.app.json : TypeScript compiler configuration for the Angular app tsconfig.spec.json : TypeScript compiler configuration for the unit tests typings.d.ts : This is the TypeScript typings file. Many JavaScript libraries, such as jQuery, Angular etc extend the JavaScript environment with features and syntax that the TypeScript compiler doesn't recognize natively. When the typeScript compiler doesn't recognize something, it throws an error. So, we use TypeScript type definition files to tell the compiler about those libraries. These TypeScript type definition files have the extension d.ts. TypeScript editors leverage these type definition files to display type information. Many libraries include type definition files in their npm packages. Angular is one such library. For example, if you look inside node_modules/@angular/core/ folder in an Angular application, it already contains the type definition files. All the files that have the extenstion d.ts are the type definition files. We will discuss more about these type definition files in our upcoming videos. app.component.{ts,html,css,spec.ts} : The root component (AppComponent) TypeScript, HTML template, StyleSheet and Spec files. app.module.ts : This is the root application module (AppModule) Text version of the video http://csharp-video-tutorials.blogspot.com/2017/10/angular-cli-project-structure-2.html Slides http://csharp-video-tutorials.blogspot.com/2017/10/angular-cli-project-structure-2-slides.html Angular CLI Tutorial https://www.youtube.com/watch?v=rJ9o4TyhSuo&list=PL6n9fhu94yhWUcq5Pc16uf8YKXoZ87Vh_ Angular CLI Text articles & Slides http://csharp-video-tutorials.blogspot.com/2017/10/angular-cli-tutorial-for-beginners.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 15872 kudvenkat
#11 Ng-Style
 
10:13
Holla ketemu lagi dengan w. Pada kesempatan kali ini w akan ngebahas bagaimana menggunakan ng-style pada angular ionic. So stay tune with me guys.. ============================================ FP: https://web.facebook.com/tutorialionicindo/
Views: 1478 HRVlogs
Create custom service in AngularJS
 
11:07
In this video we will discuss creating and using a custom service in AngularJS. Let us understand this with an example. Whenever the case changes from lower to upper, a single space character should be inserted. This means the string "AngularVideoTutorial" should be converted to "Angular Video Tutorial". Let us first see, how to achieve this without using a custom service. HtmlPage1.html : [!DOCTYPE html] [html xmlns="http://www.w3.org/1999/xhtml"] [head] [title][/title] [script src="Scripts/angular.js"][/script] [script src="Scripts/Script.js"][/script] [link href="Styles.css" rel="stylesheet" /] [/head] [body ng-app="myModule"] [div ng-controller="myController"] [table] [tr] [td]Your String[/td] [td][input type="text" ng-model="input" /] [/td] [/tr] [tr] [td]Result[/td] [td][input type="text" ng-model="output" /][/td] [/tr] [tr] [td][/td] [td] [input type="button" ng-click="transformString(input)" value="Process String" /] [/td] [/tr] [/table] [/div] [/body] [/html] Script.js : Notice, all the logic to insert a space when the case changes is in the controller. There are 2 problems with this 1. The controller is getting complex 2. This logic cannot be reused in another controller. If you have to use this logic in another controller, we will have to duplicate this same code with in that controller. When we use our own custom service to encapsulate this logic, both of these problems go away. The custom service can be injected into any controller where you need this logic. var app = angular .module("myModule", []) .controller("myController", function ($scope) { $scope.transformString = function (input) { if (!input) return input; var output = ""; for (var i = 0; i [ input.length; i++) { if (i ] 0 && input[i] == input[i].toUpperCase()) { output = output + " "; } output = output + input[i]; } $scope.output = output; }; }); Now let's create a custom service. Here are the steps 1. Add a JavaScript file to the Scripts folder in the project. Name it stringService.js. 2. Copy and paste the following code. Notice we are using the factory method to create and register the service with Angular. app.factory('stringService', function () { return { processString: function (input) { if (!input) return input; var output = ""; for (var i = 0; i [ input.length; i++) { if (i ] 0 && input[i] == input[i].toUpperCase()) { output = output + " "; } output = output + input[i]; } return output; } }; }); 3. Copy and paste the following code in Script.js. Notice that we have injected stringService into the controller function. var app = angular .module("myModule", []) .controller("myController", function ($scope, stringService) { $scope.transformString = function (input) { $scope.output = stringService.processString(input); }; }); 4. On HtmlPage1.html, only one change is required and that is to reference the stringService.js script file [script src="Scripts/stringService.js"][/script] Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/11/create-custom-service-in-angularjs.html
Views: 191488 kudvenkat
Animations in angular 4  or angular 2 Awesome animation features
 
09:33
How to implement animations in angular 2 or angular 4. Using trigger, transitions, style, animation in angular 4 or angular 2. If you will watch this video you will be able to implement awesome animations in angular 4 or angular 2.
Views: 647 DotNet Techy
Sorting data in AngularJS
 
08:32
angularjs order data angularjs orderby filter example angularjs ng-repeat orderby example angularjs filter orderby date angularjs orderby reverse angularjs orderby ascending angularjs filter orderby descending Sorting data in AngularJS In this video we will discuss how to implement sorting in AngularJS. This is continuation to Part 8. Please watch Part 8 from AngularJS tutorial for beginners before proceeding. To sort the data in Angular 1. Use orderBy filter {{ orderBy_expression | orderBy : expression : reverse}} Example : ng-repeat="employee in employees | orderBy:'salary':false" 2. To sort in ascending order, set reverse to false 3. To sort in descending order, set reverse to true 4. You can also use + and - to sort in ascending and descending order respectively Example : ng-repeat="employee in employees | orderBy:'+salary'" Let us understand sorting data with an example. The dropdownlist shows the columns and the direction we want to sort When a dropdownlist item is selected, the table data should be sorted by the selected column Script.js : The controller function builds the model. Also sortColumn property is added to the $scope object. Notice sortColumn property is initialized to name. This ensures that the data is sorted by name column in ascending order, when the form first loads. var app = angular .module("myModule", []) .controller("myController", function ($scope) { var employees = [ { name: "Ben", dateOfBirth : new Date("November 23, 1980"), gender: "Male", salary: 55000 }, { name: "Sara", dateOfBirth: new Date("May 05, 1970"), gender: "Female", salary: 68000 }, { name: "Mark", dateOfBirth: new Date("August 15, 1974"), gender: "Male", salary: 57000 }, { name: "Pam", dateOfBirth: new Date("October 27, 1979"), gender: "Female", salary: 53000 }, { name: "Todd", dateOfBirth: new Date("December 30, 1983"), gender: "Male", salary: 60000 } ]; $scope.employees = employees; $scope.sortColumn = "name"; }); HtmlPage1.html : The select element, has the list of columns by which the data should be sorted. + and - symbols control the sort direction. When the form initially loads notice that the data is sorted by name column in ascending order, and name option is automatically selected in the select element. Notice the orderBy filter is using the sortColumn property that is attached to the $scope object. When the selection in the select element changes, the sortColumn property of the $scope object will be updated automatically with the selected value, and in turn the updated value is used by the orderBy filter to sort the data. [!DOCTYPE html] [html xmlns="http://www.w3.org/1999/xhtml"] [head] [title][/title] [script src="Scripts/angular.min.js"][/script] [script src="Scripts/Script.js"][/script] [link href="Styles.css" rel="stylesheet" /] [/head] [body ng-app="myModule"] [div ng-controller="myController"] Sort By : [select ng-model="sortColumn"] [option value="name"]Name ASC[/option] [option value="+dateOfBirth"]Date of Birth ASC[/option] [option value="+gender"]Gender ASC[/option] [option value="-salary"]Salary DESC[/option] [/select] [br /][br /] [table] [thead] [tr] [th]Name[/th] [th]Date of Birth[/th] [th]Gender[/th] [th]Salary[/th] [/tr] [/thead] [tbody] [tr ng-repeat="employee in employees | orderBy:sortColumn"] [td] {{ employee.name }} [/td] [td] {{ employee.dateOfBirth | date:"dd/MM/yyyy" }} [/td] [td] {{ employee.gender }} [/td] [td] {{ employee.salary }} [/td] [/tr] [/tbody] [/table] [/div] [/body] [/html] Styles.css : CSS styles to make the form look pretty. body { font-family: Arial; } table { border-collapse: collapse; } td { border: 1px solid black; padding: 5px; } th { border: 1px solid black; padding: 5px; text-align: left; } Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/11/sorting-data-in-angularjs.html
Views: 260323 kudvenkat
Task Allocator for Team: AngularJS
 
01:01
Recently i am thinking of how to create a Central Team Task Allocating List so that everyone in the team will know, who's doing what for the day. Therefore here's a simple AngularJS script for the idea. @!DOCTYPE html% @html% @head% @meta name="viewport" content="width=device-width, initial-scale=1"% @link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"% @script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"%@/script% @script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"%@/script% @/head% @style% .button { background-color: #a0a0a0; border: none; color: white; padding: 12px; text-align: center; display: inline-block; font-size: 14px; margin: 4px 2px; cursor: pointer; border-radius: 30%; } .background { background-color: #f4f2f2; color: #111111; } @/style% @div class="container-fluid"% @h2%Team Task [email protected]/h2% @body ng-app="tasklist" ng-controller="ncontroller"% @img src="1.jpg" class="img-responsive" width="500" height="300"% @br% @p%@em%Note that Page Refresh will clear all [email protected]/em%@/p% @form ng-submit="f_add()"% @textarea ng-model="m_textarea" cols="60" rows="5" placeholder="List Task Here"%@/textarea%@br% @button type="submit" class="button"%Type & Add New [email protected]/button% @/form%@br% @div ng-repeat="i in repeater"% @br% @div class="container-fluid background"% @b%@p%Select Task Owner:@/p%@/b% @select ng-model="selectedName" ng-options="x for x in names"%@/select% @div ng-switch on= selectedName% @div ng-switch-when="All Members"%@em%This Task is for ALL:@/em%@/div% @div ng-switch-when="Becks"%@em%This Task is for Becks Only:@/em%@/div% @div ng-switch-when="Charles"%@em%This Task is for Charles Only:@/em%@/div% @button ng-click="f_remove()" class="button"%Tick & Click to Finish [email protected]/button% @input type="checkbox" ng-model="i.checked"% @/div% @span ng-bind="i.nbind"%@/span% @/div%@/div% @br%@br% @script% var start_angular = angular.module('tasklist', []); start_angular.controller('ncontroller', function($scope) { $scope.names = ["All Members", "Becks", "Charles"]; $scope.selectedName = "All Members"; $scope.repeater = []; $scope.f_add = function() { $scope.repeater.push({nbind:$scope.m_textarea, checked:false}); $scope.m_textarea = ""; }; $scope.f_remove = function() { var data_in_iterator = $scope.repeater; $scope.repeater = []; angular.forEach(data_in_iterator, function(i) {if (!i.checked) $scope.repeater.push(i); }); }; }); @/script% @/div% @/body% @/html%
Views: 508 Sam Finance Tech

Deltasone 5 mg lexapro
Gammadol 10mg 25 mg benadryl
Noticias 4 vision presentadoras de tv
Nexium dr 20 mg packet
Citalopram 30 mg bijwerkingen antidepressiva