Angular directive parameter to show and hide.Discuss.

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Senior Programmer

You can Use ng-hide , ng-show , ng-if works in some scenarios . These are built-in angular directives which Developers user to achieve desired Functionality . Elements can be hided by using ng-hide basing on Boolean Conidtion like Ex:- ng-init = DealActive = true ng-show = "DealActive"...
read more
You can Use ng-hide , ng-show , ng-if works in some scenarios . These are built-in angular directives which Developers user to achieve desired Functionality . Elements can be hided by using ng-hide basing on Boolean Conidtion like Ex:- ng-init = DealActive = true ng-show = "DealActive" behind the scene ng-show="true" it shows element , if Deal Active = false ng-show don't show the element which you are willing to because DealActive = false same way the other directive works by condition Thanks,Prasad read less
Comments

hi. check my following article on ng-show and ng-hide http://tutorial.techaltum.com/angularjs-ng-show.html
Comments

Related Questions

How do we save Data in Angular?
First you need save the data in local storage and after this you need have a json to store data.
Raminder

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
Hi, I am pursuing MBA 1st Year. I want to learn Digital Marketing. Is it right for career growth, or should I choose to learn some other technologies? If yes, please give me your suggestions that help me to get a JOB in the IT Sector.
Hi Sai, To find right career path you need to try things ( Which is long way). I would suggest you to learn multiple things ( implementation is important part) and then find your intrest and dive in to...
Sai

Which is Easy Angular or React JS ?

Both are tough(or easy) in their own way. React learning curve is short(not easy) but implementation is tougher than Angular. Angular learning curve is lengthy but implementation is easier than React
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

Introduction to Angular JS
What is AngularJS? AngularJS is a structural framework for dynamic web apps. It lets you use HTML as your template language and lets you extend HTML's syntax to express your application's components clearly...


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

Angular 4 Forms: Template Driven Approach
Angular Forms: Forms in Angular 4 can be designed on two approaches. As you can see below , we have a Template based design and the other being a Reactive based design. Here we will try to understand...

Inversion of Control
Problem You have classes that have dependencies on services or components whose concrete type is specified at design time. In this example, ClassA has dependencies on ServiceA and ServiceB. Figure 1 illustrates...

Recommended Articles

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 >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

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 >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

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