Webmaster Forum Rules | Posting Guide | Contact Us | Testimonials | Contributing Geek Program | Advertise on Geek/Talk
Welcome to the GeekTalk Webmaster Discussion Forums from GeekVillage.com

Click Here To Register. It's Free!

Go Back   geek/talk: Web publishing business discussion > YOUR CREATION: Building & Maintaining A Web Site > Web Development - Programming / Coding
User Name
Register FAQ Calendar Search Today's Posts Mark Forums Read

Thread Tools Search this Thread Display Modes
Old 03-18-2017, 06:58 AM   #1
Registered User
Join Date: Jun 2015
Posts: 246
Arrow What are Templates in AngularJS?

AngularJS templates are just plain old HTML that contains Angular-specific elements and attributes. AngularJS used these templates to show information from the model and controller.

Creating an AngularJS template

<html ng-app> <!-- body tag with ngController directive --> <body ng-controller="MyController"> <input ng-model="txtName" value="shailendra"/> <!-- button tag with ng-click directive & string expression 'btnText' wrapped in "{{ ****" markup --> <button ng-click="changeName()">{{btnText****</button> <script src="angular.js"> </body> </html>

Dhanlaxmi Yantra | Shakti Prash | Hair Growth Liquid | Slim 24 Pro | Fair Look
beingchinmay is offline   Reply With Quote
Old 08-16-2017, 11:59 PM   #2
Registered User
Join Date: Aug 2014
Location: bangalore
Posts: 416

In AngularJS, templates are written with HTML that contains AngularJS-specific elements and attributes. AngularJS combines the template with information from the model and controller to render the dynamic view that a user sees in the browser.
ketul is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClickHere2Surf.com templates and pay increase PWR_Paul_Banker Web Design and Webmaster Issues 8 06-27-2001 11:17 PM
Good place for Web Page templates? Strider Making Money with CPC and/or CPM Programs 3 01-20-2001 01:14 AM
Dreamwaever Templates Vancouver_BC Web Design and Webmaster Issues 0 02-20-2000 01:51 PM

Please support our advertisers. They ensure our survival.

All times are GMT -5. The time now is 07:17 PM.

GeekVillage.com is copyright © 1998-2015 Curiosity Cave - Science gifts for clever kids. All rights reserved.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.