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

Hi, I am working as a web designer and want to work as UI developer. So what should I have to learn initially? And learning Angular Js would be a good option?
It is good choice web designer to become web developer (UI developer). Start with the basics first learn HTML and CSS, Then go and continue with bootstrap and Angular js.
Mudita
What is cost of final year IEEE project guidance?
It cost around Rs. 20,000/- at max.
Vivek
How to create sliding tabs in ionic ?
We can create sliding tabs using ion-tab in ionic.
Gowravaram
0 0
5

Hello all, I am working as a web (graphic) designer right now, I know basics of HTML, CSS, Photoshop illustrator but I want to become a developer. So I want to know that is Angularjs developer is a good career?

AngularJS is a structural framework for dynamic web apps. It address many of the challenges encountered in developing single-page applications so It has a very good career prospects.
Himani
how to use angular js with springs
Spring is something that is on the server side...AngularJS will be working on the client side..more on the user-facing side...Spring does not care if you use jQuery,AngularJS or EmberJs etc..or any other...
Don
0 0
7

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

Ask a Question

Related Lessons

AngularJS Program Syllabus
What You will Learn in AngularJS Program? Introduction to AngularJS. AngularJS Expressions: Numbers, Strings, Objects, Arrays, Expressions using {{ }} and ng-bind. Modules: Creating a module, adding...

.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,...

Dependency Injection in Angular 2
Dependency injection Dependency injection is a way to supply a new instance of a class with the fully-formed dependencies it requires. Most dependencies are services. Angular uses dependency injection...

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...

What Should I Learn in 2025 for Frontend or Web Technology?
If you're wondering what to focus on in 2025 to excel in frontend development, here's a concise guide: 1. React.js React remains one of the most in-demand technologies for building modern web applications....

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