This document summarizes a presentation on AngularJS. It introduces AngularJS as a JavaScript framework for building single-page applications. It covers key AngularJS concepts like modules, controllers, views, directives, routing, services, filters and custom directives. It also provides examples of creating modules, controllers and views, using directives for data binding, implementing routing and dependency injection. The presentation concludes by discussing upcoming topics like custom directives, isolated scopes, services and testing with AngularJS.
A Basic tutorial for AngularJS basic features with examples:
2 way data binding
directives
Filters
Views
Providers
Routing
Examples of this presentation can be found here :
https://github.com/msalahat/AngularJS-1.3-Basic-Tutorial#angularjs-13-basic-tutorial
AngularJS 101 - Everything you need to know to get startedStéphane Bégaudeau
In this presentation, you will find everything need to get started with AngularJS.
For more details, have a look at my blog (http://stephanebegaudeau.tumblr.com) or follow me on twitter (@sbegaudeau)
On September 25th we hosted a webinar on “Step by Step AngularJS for beginners” for the Indian region and we’d like to share the presentation and recorded webinar with you now! In the webinar, we covered:
• Introduction to AngularJS
• Introduction to SPA
• Controller and $scope object
• Controller hierarchy
• Service and factory methods
• Routing
• CRUD operations in AngularJS application
And more!
A Basic tutorial for AngularJS basic features with examples:
2 way data binding
directives
Filters
Views
Providers
Routing
Examples of this presentation can be found here :
https://github.com/msalahat/AngularJS-1.3-Basic-Tutorial#angularjs-13-basic-tutorial
AngularJS 101 - Everything you need to know to get startedStéphane Bégaudeau
In this presentation, you will find everything need to get started with AngularJS.
For more details, have a look at my blog (http://stephanebegaudeau.tumblr.com) or follow me on twitter (@sbegaudeau)
On September 25th we hosted a webinar on “Step by Step AngularJS for beginners” for the Indian region and we’d like to share the presentation and recorded webinar with you now! In the webinar, we covered:
• Introduction to AngularJS
• Introduction to SPA
• Controller and $scope object
• Controller hierarchy
• Service and factory methods
• Routing
• CRUD operations in AngularJS application
And more!
We Will learn about:
What is AngularJs?
Key Points
Core Features of AngularJS
How is it works?
AngularJs Terminologies
AngularJs directives
How we start work on AngularJs?
AngularJs Tags
How we use Yeoman?
Advantages and Disadvantages
This presentation is an effort to combine all the cool features present in Angular and provide a basic idea about how it would help a developer overcome some of the common issues faced in client side development.
This is an effort towards teaching Angular JS from what an average Javascript developer already know. The presentation tries to fill the gap rather than posing Angular as a magical framework.
Introduction to AngularJS
مقدمة عن AngularJS
Follow us on Egyptian NodeJs Community on google+
https://plus.google.com/u/0/communities/110403046378899425503
This is a laconic presentation on Angular JS for beginners only. I have emphasized on example rather than theory. There are self explained source code urls attached with slides. In the last slide I have attached source code for a real life example using Angular JS an BootStrap which may be very helpful to understand the concept of Angular JS.
AngularJS - What is it & Why is it awesome ? (with demos)Gary Arora
AngularJS - What is it & Why is it awesome! A quick introduction to AngularJS, its features and some demos. This deck was part of Gary Arora's presentation for the Boston Code Mastery event in December 2013.
How many times have you experienced the agonizing wait as you navigate through a web application? Looking expectantly at the screen, and waiting for the page to load? Frustrating, isn’t it?
Using Single Page web application (SPA) technique can give your web application as seamless an experience as a desktop application. So, what is SPA? And how does it enhance the viewer experience?
The webinar will take you through a step-by-step introduction to SPA, its building blocks, the design techniques and advantages of SPA. It will also discuss the distinct advantages of using AngularJS for Single Page Applications and feature an application demo.
Key Takeaways:
Single Page Web Applications [SPA] , Present and Future
- Introduction
- Why SPA, advantages
- SPA- Multiplatform perspective
- Future of SPA
Architectural considerations for developing SPA
- Building blocks of SPA
- Main Challenges in Web Application Development
Why choose AngularJS for SPA
- Walkthrough of Key AngularJS features
- Advantages of AngularJS in SPA development
Application Demo
Who will benefit from this webinar?
ISVs who want to make their web applications more fluid and engaging for their users
Businesses who don’t want to lose customers because of a slow website
- B2C portals
- Online Retailers
- Travel & Hospitality
- Online shopping portals
- Healthcare portals
Educational & training institutions
We Will learn about:
What is AngularJs?
Key Points
Core Features of AngularJS
How is it works?
AngularJs Terminologies
AngularJs directives
How we start work on AngularJs?
AngularJs Tags
How we use Yeoman?
Advantages and Disadvantages
This presentation is an effort to combine all the cool features present in Angular and provide a basic idea about how it would help a developer overcome some of the common issues faced in client side development.
This is an effort towards teaching Angular JS from what an average Javascript developer already know. The presentation tries to fill the gap rather than posing Angular as a magical framework.
Introduction to AngularJS
مقدمة عن AngularJS
Follow us on Egyptian NodeJs Community on google+
https://plus.google.com/u/0/communities/110403046378899425503
This is a laconic presentation on Angular JS for beginners only. I have emphasized on example rather than theory. There are self explained source code urls attached with slides. In the last slide I have attached source code for a real life example using Angular JS an BootStrap which may be very helpful to understand the concept of Angular JS.
AngularJS - What is it & Why is it awesome ? (with demos)Gary Arora
AngularJS - What is it & Why is it awesome! A quick introduction to AngularJS, its features and some demos. This deck was part of Gary Arora's presentation for the Boston Code Mastery event in December 2013.
How many times have you experienced the agonizing wait as you navigate through a web application? Looking expectantly at the screen, and waiting for the page to load? Frustrating, isn’t it?
Using Single Page web application (SPA) technique can give your web application as seamless an experience as a desktop application. So, what is SPA? And how does it enhance the viewer experience?
The webinar will take you through a step-by-step introduction to SPA, its building blocks, the design techniques and advantages of SPA. It will also discuss the distinct advantages of using AngularJS for Single Page Applications and feature an application demo.
Key Takeaways:
Single Page Web Applications [SPA] , Present and Future
- Introduction
- Why SPA, advantages
- SPA- Multiplatform perspective
- Future of SPA
Architectural considerations for developing SPA
- Building blocks of SPA
- Main Challenges in Web Application Development
Why choose AngularJS for SPA
- Walkthrough of Key AngularJS features
- Advantages of AngularJS in SPA development
Application Demo
Who will benefit from this webinar?
ISVs who want to make their web applications more fluid and engaging for their users
Businesses who don’t want to lose customers because of a slow website
- B2C portals
- Online Retailers
- Travel & Hospitality
- Online shopping portals
- Healthcare portals
Educational & training institutions
The Model View ViewModel (MVVM) is an architectural pattern originated by Microsoft as a specialization of the Presentation Model (Martin Fowler). Similar to MVC, MVVM is suitable for client applications (Xaml-based, Xamarin, SPA, ...) because it facilitates a clear separation between the UI and the Business Logic. Examples with WPF, MvvmCross, AngularJs. It also contains solutions for common use cases.
Building scalable applications with angular jsAndrew Alpert
AngularJS today is one of the most powerful, user-friendly and popular JS frameworks to work on web applications. Surprisingly, one of the main weaknesses of this framework is poorly structured documentation and the lack of ready-made solutions. In this report, we will try to work out the best approach to the organization of large and very large applications. We will also speak about the tools that will be useful at every stage of the application development and tools and practicesthat will help you to work in the continuous delivery mode.
Slides presenting some numbers of PythonBrasil[8] conference (PyCon Brasil), that happened in Rio de Janeiro, during November 2012. Authors: @tati_alchueyr and @turicas
jQuery is so easy to write and therefore so easy to write poor code also. As coders are we sure that what we write can easily be digested by the web page? Lets go and see how we can easily improve performance with same code with different approach.
Get up to speed and level up your skills so we can understand core concepts and develop complex web applications more effectively.
Plunkers to check out:
Scope
http://plnkr.co/edit/wruApVb8kh1tttJwkQAP?p=preview
Two-way data binding & ngModel
http://plnkr.co/edit/yJ1jKHO1dpkfsVbMKBu9?p=preview
ngRepeat Directive
http://plnkr.co/edit/Fe5GvSmFQNnsWjUW0qeu?p=preview
Filters & ngModel
http://plnkr.co/edit/eIr8Ajzi9zPo5PA8U7nk?p=preview
Login Service
http://plnkr.co/edit/hf1WxgMr9u1HVQuGv1l6?p=preview
Services used to communicate between controllers
http://plnkr.co/edit/I1rBFI?p=preview
Service vs provider vs factory
http://plnkr.co/edit/kh1YsJmcozzSSqur20Zt?p=preview
Routes
http://plnkr.co/edit/UZRpIHdtmQJgOmCquLQ3?p=preview
Angular Js Get Started - Complete CourseEPAM Systems
Angular Js Advantages.Developed by Google - Most Popular, SPA (Single Page Appplications), Data Binding, Easy to Test.
Complete guide for Angular Js. Covers Basics of Angular - Module, Controllers, Filters, and Advanced topics Routing, Services, UI-Routing
1> IMPORTANT PARTS OF ANGULARJS
2> Angular Js FEATURES
3> ADVANTAGES / DISADVANTAGES OF ANGULARJS
4> THE ANGULARJS COMPONENTS
5> MVC
6> STEPS TO CREATE ANGULARJS APP
AngularJS is a very powerful JavaScript library. It is used in Single Page Application (SPA) projects. It extends HTML DOM with additional attributes and makes it more responsive to user actions. AngularJS is open source, completely free, and used by thousands of developers around the world. It is licensed under the Apache license version 2.0.
Agenda:
1- Introduction: basic description and overview about what is angular and why we should use it.
2- AngularJS Core Features: key features of angularJS.
3- Guides and help: API and documentation references, in addition of online courses.
Angular-Js is a JavaScript-based open-source front-end web application framework mainly maintained by Google and by a community of individuals and corporations to address many of the challenges encountered in developing single-page applications.
So, recently I had my first Web Development Experience.
After some research and many iterations on different approaches I came out with these solutions:
MVC – Model View Controller Architecture
AWS – Amazon Web Services
Front End – AngularJS and RDW (Responsive Web Design)
Server and Back End – Django and REST API
Application Version of the Web App – Unity and StrangeIoC Framework.
Similar to Introduction to single page application with angular js (20)
This case study offers details of a project which involved developing an app to allow people to search for physicians/clinics in specified geographic areas. The app allows the users to rate and share reviews about the physicians they visit, and thus offer a reference point for people wanting to visit the same physicians in the future. For more details on our Health IT capabilities, visit: http://www.mindfiresolutions.com/healthcare.htm
The case study offers details of an app developed to enable its users to design healthy and personalized diet schedules, thus enabling them to keep their body weight under check. The app has features to offer customized solutions for the users. Progress can be monitored by referring to information shared in the form of charts and tables. For more details on other fitness/wellness apps developed by us, visit: http://www.mindfiresolutions.com/mHealth-development-services.htm
This casestudy elaborates on a cloud-based platform that we developed to enable enterprises to manage all their major business functions with outmost convenience – sales, internal efficiency, customer management. The platform offers them the capability to rapidly build web and mobile apps that can work together with built-in programs. For more details on our software development capabilities, visit: http://www.mindfiresolutions.com/
The casestudy offers details on an app developed to record and store readings made by three healthcare devices, which are used to measure healthcare vitals of users at remote locations. The App also has provision to generate different types to reports to facilitate subsequent analyses. For more details on our mHealth app development capabilities,
visit: http://www.mindfiresolutions.com/mHealth-development-services.htm
The project describes how a software platform can advance a very contemporary digital marketing technique of using Influencers to promote brands and services. For more details on our IT services, visit: http://www.mindfiresolutions.com/
This is all about details on High Availability of Applications running in Azure. Would cover on fundamentals of High Availability in Azure and discuss in depth on PaaS (High Availability of Web Role and Worker Role).
There was always embedded device in action, but the missing part was connectivity, intelligence, Knowledge from the data it was collecting. The Internet of Things is the new buzz word in trend. There will more embedded devices, more devices with sensor and more control on the physical process. Then we will see there are lots of thing surrounding us in near future. This is very initial phase of the IoT industry. But we have all the tools to experiment and make the things.
Oracle SQL Developer is an Integrated development environment (IDE) for working with SQL in Oracle databases.By the use of this, one can get an easy access to the Database, along with quick and effective SQL queries.
The introduction of Adaptive Layout in iOS 8 is a big paradigm shift for iOS app designers. When designing ones app, one can now create a single layout, which works on all current iOS 8 devices – without crafty platform-specific code!
Auto Layout is one of the most important system that lets one manage layout of ones application user interface. As we know, Apple supports different screen sizes in their devices, therefore managing application user interface becomes difficult.
LINQPad is a software utility targeted at Microsoft .NET development. It is used to interactively query SQL databases using LINQ.Some one planning to use this tool on the work front can refer to this presentation.
WatchKit is an API that extends Apple's development environment for iOS applications to allow apps / notifications to extend to the Apple Watch product. WatchKit is the Objective-C and Swift framework created by Apple to allow third-party developers to create apps for the Apple Watch ecosystem.
Objective-C is how we’ve built Mac and iOS apps for many years. It’s a huge part of the landscape of Apple Development. And, here comes Swift which is only a year old but with lot of promises and features.
Material Design can be simply explained as good design with the innovation and possibility of technology and science. In Material Design lot of new things were introduced like Material Theme, new widgets, custom shadows, vector drawable s and custom animations. This presentation is all about Material Design in Android.
This presentation is at the beginners level and mainly focusses on how to create and consume OData service in ASP.NET. OData (Open Data Protocol) is a standardized protocol for creating and consuming data APIs through regular HTTP requests and REST.
This presentation is about a basic Overview of Ext JS framework. Covers the discussion on topics like Understanding Ext JS API, Ext JS component Life cycle,Ext JS Components and Events and Ext JS Layouts etc.
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
CyanicLab, an offshore custom software development company based in Sweden,India, Finland, is your go-to partner for startup development and innovative web design solutions. Our expert team specializes in crafting cutting-edge software tailored to meet the unique needs of startups and established enterprises alike. From conceptualization to execution, we offer comprehensive services including web and mobile app development, UI/UX design, and ongoing software maintenance. Ready to elevate your business? Contact CyanicLab today and let us propel your vision to success with our top-notch IT solutions.
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Globus
The U.S. Geological Survey (USGS) has made substantial investments in meeting evolving scientific, technical, and policy driven demands on storing, managing, and delivering data. As these demands continue to grow in complexity and scale, the USGS must continue to explore innovative solutions to improve its management, curation, sharing, delivering, and preservation approaches for large-scale research data. Supporting these needs, the USGS has partnered with the University of Chicago-Globus to research and develop advanced repository components and workflows leveraging its current investment in Globus. The primary outcome of this partnership includes the development of a prototype enterprise repository, driven by USGS Data Release requirements, through exploration and implementation of the entire suite of the Globus platform offerings, including Globus Flow, Globus Auth, Globus Transfer, and Globus Search. This presentation will provide insights into this research partnership, introduce the unique requirements and challenges being addressed and provide relevant project progress.
Software Engineering, Software Consulting, Tech Lead.
Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Security,
Spring Transaction, Spring MVC,
Log4j, REST/SOAP WEB-SERVICES.
top nidhi software solution freedownloadvrstrong314
This presentation emphasizes the importance of data security and legal compliance for Nidhi companies in India. It highlights how online Nidhi software solutions, like Vector Nidhi Software, offer advanced features tailored to these needs. Key aspects include encryption, access controls, and audit trails to ensure data security. The software complies with regulatory guidelines from the MCA and RBI and adheres to Nidhi Rules, 2014. With customizable, user-friendly interfaces and real-time features, these Nidhi software solutions enhance efficiency, support growth, and provide exceptional member services. The presentation concludes with contact information for further inquiries.
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
Quarkus Hidden and Forbidden ExtensionsMax Andersen
Quarkus has a vast extension ecosystem and is known for its subsonic and subatomic feature set. Some of these features are not as well known, and some extensions are less talked about, but that does not make them less interesting - quite the opposite.
Come join this talk to see some tips and tricks for using Quarkus and some of the lesser known features, extensions and development techniques.
Experience our free, in-depth three-part Tendenci Platform Corporate Membership Management workshop series! In Session 1 on May 14th, 2024, we began with an Introduction and Setup, mastering the configuration of your Corporate Membership Module settings to establish membership types, applications, and more. Then, on May 16th, 2024, in Session 2, we focused on binding individual members to a Corporate Membership and Corporate Reps, teaching you how to add individual members and assign Corporate Representatives to manage dues, renewals, and associated members. Finally, on May 28th, 2024, in Session 3, we covered questions and concerns, addressing any queries or issues you may have.
For more Tendenci AMS events, check out www.tendenci.com/events
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
Worried about document security while sharing them in Salesforce? Fret no more! Here are the top-notch security standards XfilesPro upholds to ensure strong security for your Salesforce documents while sharing with internal or external people.
To learn more, read the blog: https://www.xfilespro.com/how-does-xfilespro-make-document-sharing-secure-and-seamless-in-salesforce/
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
Unleash Unlimited Potential with One-Time Purchase
BoxLang is more than just a language; it's a community. By choosing a Visionary License, you're not just investing in your success, you're actively contributing to the ongoing development and support of BoxLang.
Into the Box Keynote Day 2: Unveiling amazing updates and announcements for modern CFML developers! Get ready for exciting releases and updates on Ortus tools and products. Stay tuned for cutting-edge innovations designed to boost your productivity.
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
Les Buildpacks existent depuis plus de 10 ans ! D’abord, ils étaient utilisés pour détecter et construire une application avant de la déployer sur certains PaaS. Ensuite, nous avons pu créer des images Docker (OCI) avec leur dernière génération, les Cloud Native Buildpacks (CNCF en incubation). Sont-ils une bonne alternative au Dockerfile ? Que sont les buildpacks Paketo ? Quelles communautés les soutiennent et comment ?
Venez le découvrir lors de cette session ignite
Strategies for Successful Data Migration Tools.pptxvarshanayak241
Data migration is a complex but essential task for organizations aiming to modernize their IT infrastructure and leverage new technologies. By understanding common challenges and implementing these strategies, businesses can achieve a successful migration with minimal disruption. Data Migration Tool like Ask On Data play a pivotal role in this journey, offering features that streamline the process, ensure data integrity, and maintain security. With the right approach and tools, organizations can turn the challenge of data migration into an opportunity for growth and innovation.
Designing for Privacy in Amazon Web ServicesKrzysztofKkol1
Data privacy is one of the most critical issues that businesses face. This presentation shares insights on the principles and best practices for ensuring the resilience and security of your workload.
Drawing on a real-life project from the HR industry, the various challenges will be demonstrated: data protection, self-healing, business continuity, security, and transparency of data processing. This systematized approach allowed to create a secure AWS cloud infrastructure that not only met strict compliance rules but also exceeded the client's expectations.
3. Presenter:Nakul, Mindfire Solutions
Single Page Application
View View
ViewView
The Future Of Tomorrow's Web with SOA( Service Oriented Architecture). To provide User a Native
web-app Experience.
SPA
4. Presenter:Nakul, Mindfire Solutions
The Challenge with SPA
DOM Manipulation History Module Loading
Routing Caching Object Modeling
Data Binding Ajax/Promises View Loading
5. Presenter: Nakul, Mindfire Solutions
What is AngularJS?
This is a MV*(MVC OR MVVM) Javascript Framework by Google for Rich Web
Application Development & Provide User a Native App by following SPA Design
Pattern.
Model
(Data)
Controlle
r (Logic)
View (UI)Notifies
NotifiesChanges
Model
(Data)
View (UI)
Controller
(Logic)
MVC
View (UI) MVVM
6. Presenter: Nakul, Mindfire Solutions
“Other frameworks deal with HTML’s shortcomings by either abstracting away HTML, CSS, and/or JavaScript
or by providing an imperative way for manipulating the DOM. Neither of these address the root problem
that HTML was not designed for dynamic views”.
Angular JS Power:
l Structure, Quality and Organization
l Lightweight ( < 36KB compressed and minified).
l Free.
l Separation of concern.
l Modularity.
l Extensibility & Maintainability.
l Reusable Components.
Why AngularJS?
7. Presenter: Nakul, Mindfire Solutions
Why AngularJS?
This means that any changes to the data need to be re-merged with the
template and then innerHTMLed into the DOM. Some of the issues with
this approach are:
Reading user input and merging it with data
Clobbering user input by overwriting it
Managing the whole update process
The Angular compiler consumes the DOM, not string templates.
The result is a linking function, which when combined with a
scope model results in a live view. The view and scope model
bindings are transparent.
9. Two-way Data Binding – ViewModel as single source of truth (Glue).
MV*(MVC OR MVVM) – Provides Two-way Data Binding.
Modules.
Directives & Custom Directives – Extend HTML.
Services & Factories.
Dependency Injection.
Watcher.
Digest.
Testing.
Deep Linking (Map URL to route Definition).
Server-Side Communication.
Features of AngularJS
Presenter: Nakul, Mindfire Solutions
10. Presenter: Nakul, Mindfire Solutions
View Controller
FactoryDirectives
Routes
Module
Config
Modules are Containers
Service Provider
$scope
11. // Module Creation
var carApp = angular.module('CarApp', []);
// Dependencies Injection
var demoApp = angular.module('carApp', ['helperModule']);
Creating a Module
Presenter: Nakul, Mindfire Solutions
12. var carApp = angular.module('CarApp', []);
carApp.controller('HyundaiController', function ($scope) {
$scope.articles = [
{'name' : 'i20 Elite'},
{'name' : 'Fludic Verna'},
{'name': 'Xcent'},
{'name' : 'Eon'},
{'name' : 'i10 Grand'}
];
});
Define a Module
Define a
Controller
Creating a Controller in a Module
Presenter: Nakul, Mindfire Solutions
13. Presenter: Nakul, Mindfire Solutions
Directives are markers on Dom Elements(such as attributes, tags, and class
names) that tell HTML compiler ($compile) to attach a given behavior to a
DOM element (or transform it, replace it, etc.),When Angular bootstraps
your application, the HTML compiler traverses the DOM matching
directives against the DOM elements.
Some angular built-in directives
lThe ng-app - Bootstrapping your app and defining its scope. (<html ng-
app>).
lThe ng-controller - defines which controller will be in charge of your view.
(<input ng-controller=”xyz”>).
lThe ng-repeat - Allows for looping through collections.
lThe ng-init – Allows to Initialize any Data Model Object.
What is a Directive?
15. <!DOCTYPE html>
<html ng-app>
<head>
<title>Examples</title>
</head>
<body>
<div class="container">
Name: <input type="text" ng-model="name" /> {{ name }}
</div>
<script src="Scripts/angular.js"></script>
</body>
</html>
Using Directives and Data Binding
Presenter: Nakul, Mindfire Solutions
Data Binding Expression
Directive
16. Presenter: Nakul, Mindfire Solutions
View, Controllers & Scope
View Controller$scope
$scope is the "glue" (ViewModel) between a controller and a view
20. Angular Services.
Angular services are substitutable objects that are wired together using dependency injection (DI). You
can use services to organize and share code across your app.
Angular services are:
Lazily instantiated – Angular only instantiates a service when an application component depends on it.
Singletons – Each component dependent on a service gets a reference to the single instance
generated by the service factory.
Angular offers several useful services (like $http), but for most applications you'll also want to create
your own.
21. Filters & Custom Filters
A filter formats the value of an expression for display to the user. They can be used in view
templates, controllers or services and it is easy to define your own filter.
{{ expression | filter1 | filter2 | ... }}
We have in-built Filters Available as
Number : {{ 1234 | number:2 }}
Currency : {{ 12 | currency }}
Date: {{ date_expression | date : format : timezone}}
Lowercase : {{ lowercase_expression | lowercase}}
Uppercase : {{ lowercase_expression | uppercase}}
Filter : <tr ng-repeat="friend in friends | filter:'a'">
OrderBy : <tr ng-repeat="friend in friends | orderBy:'-age'">
LimitTo : {{ numbers | limitTo:numLimit }}
Custom Filter :
app.filter('reverse', function() { // Custom Filter
Reverse
return function(input) {
var out = input.split('').reverse().join();
return out;
};
});
22. Presenter: Nakul, Mindfire Solutions
Next Seminar : Angular in Depth.
Angular Custom Directives in Depth.
Isolated Scopes.
Reusable Custom Directives.
Communication in Custom Directives.
Services, Factories Providers & Value in Depth.
Custom Services & Factories in Depth.
Event Binding in the Templates.
Unit Testing with AngularJS.
24. Presenter: Nakul, Mindfire Solutions
References
I. Angular Docs → https://angularjs.org/
I. Tutorial Point → http://www.tutorialspoint.com/angularjs/
I. Head First Diving into Angularjs.