How to inclcude css files in a angular project correctly?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Software Trainer

ng class
Comments

Software Trainer

ng css class
Comments

IT Course Training

import {Component} from '@angular/core'; @Component({ selector:'my-app', templateUrl:'app.component.html', //styles: //use for inline css styleUrls: //use for css file }) export class AppComponent{}
read more
import {Component} from '@angular/core'; @Component({ selector:'my-app', templateUrl:'app.component.html', //styles:['.active{color:#cecece}' ] //use for inline css styleUrls: ['./app.component.css'] //use for css file }) export class AppComponent{} read less
Comments

IT Course Training

import {Component} from '@angular/core'; @Component({ selector:'my-app', templateUrl:'app.component.html', //styles: //use for inline css styleUrls: //use for css file }) export class AppComponent{}
read more
import {Component} from '@angular/core'; @Component({ selector:'my-app', templateUrl:'app.component.html', //styles:['.active{color:#cecece}' ] //use for inline css styleUrls: ['./app.component.css'] //use for css file }) export class AppComponent{} read less
Comments

View 2 more Answers

Related Questions

What is cost of final year IEEE project guidance?
It cost around Rs. 20,000/- at max.
Vivek
Hi, can you explain about Angular JS training and project explanation on it?
If you like I could give you sessions on Angular Js and guide you on the same to build client side applications.
Kiranteja

As web designer what is easy and useful to learn Angular or React?

If you are having prior Javascript knowledge then React is easy than Angular.
Nikunj

Angular or React which is easy to learn and value in the market & job openings

Both are demanding in the market, but as per Google trends React much in demand than Angular. React is javascript based and Angular is typescript based. If you are good at javascript, then React is easy...
Ganesh

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Mark And Sweep Algorithm in Javascript Memory Management
This algorithm reduces the definition of "an object is not needed anymore" to "an object is unreachable". This algorithm assumes the knowledge of a set of objects called roots (In JavaScript, the root...

AngularJS Routes
Q. How to set up Angular JS Routes? Ans: Set up the application in below format: AngularJS(Folder)/ ---index.html ---home.html ---about.html ---css/style.css ---js/angular.js ---js/angular--routes.js ---js/app.js i....

.NET With AngularJS Training Program Syllabus
What You will Learn in .NET with AngularJS Training Program? Introduction to .Net: Features of .Net, CTS, CLS, CLR and MSIL. C# & .Net Basics and Branching & Flow Control. OOPs Concepts,...

AngularJS Sunshine Techno system
AngularJS History AngularJS version 1.0 was released in 2012. Miško Hevery, a Google employee, started to work with AngularJS in 2009. The idea turned out very well, and the project is now officially...

Difference Between JavaScript and AngularJs
JavaScript: JavaScript is a programming language written for websites to run in the browser. It is used to validate the user input at browser level itself before submitting the page to server for...

Recommended Articles

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for Angular.JS Training?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you