SlideShare a Scribd company logo
SINGLE PAGE
APPLICATIONS
IN SHAREPOINT WITH
ANGULAREric Trivette
About Me
Senior Developer Consultant at Sparkhound
Email: eric.trivette@Sparkhound.com
Sparkhound Blog:
http://www.sparkhound.com/pages/blogs.aspx
2
What We Will Cover
What is Angular and Why use it in SharePoint?
A Brief Overview of the MVC Design Pattern
Key Angular Terminology
Getting Started With a Basic Angular Application
Demo – To-Do List Application
3
What is Angular?
A Single Page Application (SPA) framework created by
Google to help simplify the process of creating client side
applications.
Utilizes the Model View Controller design pattern by
splitting pages into the following:
Models
Views
Controllers
Utilizes modules and dependency injection to promote
clean coding practices.
4
Why Use Angular in SharePoint?
Makes client side application development
extremely easy
Very easy to deploy.
The REST service is already there, just push
Javascript and HTML files to necessary
document libraries.
No custom solutions that need to be package
and deployed by an administrator.
5
Why Use Angular in SharePoint? (cont.)
The fluid nature of applications written in
Angular blends well with SharePoint’s
architecture.
High performance – offload processing to client
and minimize amount of data sent over the wire.
6
Model-View-Controller
7
Application Module
Configuration
Route:
“/view/1”
Route:
“/edit/1”
Route:
“/list”
$scope
Services
Controller
View
Web Page
View
Container
Key Angular Terminology
Directives
Extend the DOM, apply data bindings.
ng-app, ng-controller, ng-view, ng-model, ng-repeat, etc.
Modules
Containers for all Angular functionality. (i.e. Namespaces)
$scope
Your model. Uses to pass data from controller to view.
8
Key Angular Terminology (cont.)
Services
Angular provides built in services for common tasks:
$http, $q, $route, $timeout, $document, $exceptionHandler, etc…
Can create custom services to be used in controllers.
Double mustache {{ }}
Angular’s inline data binding expressions. Ng-model for forms.
9
Basic Angular App Checklist
Reference necessary Angular Javascript files – “angular.js”
and “angular-route.js”.
Create a module for your application
Create an application container
Create a controller
Perform needed data retrieval and add data to the $scope
object (model)
Create a view for your controller within your app container.
Add an “ng-controller” directive to your app container to tell
angular to use your new controller.
Run your application!
10
Demo – To-Do List Application
11
References
REST API:
http://blogs.msdn.com/b/uksharepoint/archive/2013/02/22/manipul
ating-list-items-in-sharepoint-hosted-apps-using-the-rest-api.aspx
http://stackoverflow.com/questions/14791444/adding-list-items-
with-sharepoint-2013-rest-api
http://www.andrewconnell.com/blog/Applying-Filters-to-Lookup-
Fields-with-the-SP2013-REST-API
http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-
using-rest-services-jquery/
http://sharepoint.stackexchange.com/questions/95456/get-list-
items-created-by-logged-in-user-with-rest-api
12
References (Continued)
Angular
http://clintberry.com/2013/modular-angularjs-application-
design/
http://viralpatel.net/blogs/angularjs-controller-tutorial/
https://docs.angularjs.org/tutorial/step_07
13
14

More Related Content

PPTX
Angular js tutorial slides
PPTX
AngularJS - The Next Big Thing?
PDF
AngularJS best-practices
PDF
Gettings started with the superheroic JavaScript library AngularJS
PDF
AngularJS - What is it & Why is it awesome ? (with demos)
PDF
AngularJS Best Practices
PPTX
Overview about AngularJS Framework
PDF
Introduction to AngularJS
Angular js tutorial slides
AngularJS - The Next Big Thing?
AngularJS best-practices
Gettings started with the superheroic JavaScript library AngularJS
AngularJS - What is it & Why is it awesome ? (with demos)
AngularJS Best Practices
Overview about AngularJS Framework
Introduction to AngularJS

What's hot (20)

PPTX
AngularJS Best Practices
PDF
Introduction to AngularJS
PPTX
AngularJS Beginners Workshop
PPTX
AngularJS One Day Workshop
PPTX
AngularJS intro
PPTX
Step by Step - AngularJS
PPTX
Why angular js Framework
PPTX
AngularJS - Architecture decisions in a large project 
PDF
AngularJS 101 - Everything you need to know to get started
PDF
Angular Best Practices v2
PDF
AngularJS application architecture
PPTX
Angularjs
PPTX
Introduction to Angular js 2.0
PPTX
Introduction to Angular JS
PDF
Angularjs - lazy loading techniques
PDF
AngularJS introduction
PPTX
Angular js for beginners
PPTX
Angular JS - Introduction
PPTX
Introduction to Angularjs
PDF
AngularJS Basics and Best Practices - CC FE &UX
AngularJS Best Practices
Introduction to AngularJS
AngularJS Beginners Workshop
AngularJS One Day Workshop
AngularJS intro
Step by Step - AngularJS
Why angular js Framework
AngularJS - Architecture decisions in a large project 
AngularJS 101 - Everything you need to know to get started
Angular Best Practices v2
AngularJS application architecture
Angularjs
Introduction to Angular js 2.0
Introduction to Angular JS
Angularjs - lazy loading techniques
AngularJS introduction
Angular js for beginners
Angular JS - Introduction
Introduction to Angularjs
AngularJS Basics and Best Practices - CC FE &UX
Ad

Viewers also liked (13)

PPTX
Angularjs Basics
PPTX
[DK] SPA med angular
KEY
Everything you need to know about HTML5 in 15 min
PDF
Javascript cross domain communication
PDF
Spa with angular
PDF
AngularJS Basics
PDF
SPA, Scalable Application & AngularJS
PDF
Introduction to SPA with AngularJS
PDF
HTML5 Web Security
PDF
Cross-domain requests with CORS
PDF
Sondage ELABE / BFMTV - Débat des primaires citoyennes du 15 janvier 2017
PPTX
AngularJS Architecture
PPT
Breaking The Cross Domain Barrier
Angularjs Basics
[DK] SPA med angular
Everything you need to know about HTML5 in 15 min
Javascript cross domain communication
Spa with angular
AngularJS Basics
SPA, Scalable Application & AngularJS
Introduction to SPA with AngularJS
HTML5 Web Security
Cross-domain requests with CORS
Sondage ELABE / BFMTV - Débat des primaires citoyennes du 15 janvier 2017
AngularJS Architecture
Breaking The Cross Domain Barrier
Ad

Similar to Single Page Applications in SharePoint with Angular (20)

PPTX
SharePoint Saturday New York 2017 - SharePoint Framework, Angular and Azure F...
PPTX
Single Page Angular Application Presentation
PPTX
Single Page Angular Application Presentation
PPTX
Portable single page applications with AngularJS in SharePoint
PPTX
European SharePoint Conference 2017 - SharePoint Framework, Angular & Azure F...
PPTX
European Collaboration Summit - SharePoint Framework Angular & Azure Functions
PDF
Angular 7 training_topics
PPTX
Angular vs React: Building modern SharePoint interfaces with SPFx
PPTX
Intro to AngularJS
PPTX
ASP.NEt MVC and Angular What a couple
PDF
Angular js
PDF
Angular js
PPTX
Building SharePoint Single Page Applications Using AngularJS
PDF
End to-End SPA Development Using ASP.NET and AngularJS
PPTX
AngularJS 1.x - your first application (problems and solutions)
PPTX
Angular Basics: A Beginner's Guide to Web Development
PPTX
Sharepoint Apps
DOCX
Single Page Application
PPTX
Benefits of developing single page web applications using angular js
PPTX
SharePoint Framework, Angular and Azure Functions
SharePoint Saturday New York 2017 - SharePoint Framework, Angular and Azure F...
Single Page Angular Application Presentation
Single Page Angular Application Presentation
Portable single page applications with AngularJS in SharePoint
European SharePoint Conference 2017 - SharePoint Framework, Angular & Azure F...
European Collaboration Summit - SharePoint Framework Angular & Azure Functions
Angular 7 training_topics
Angular vs React: Building modern SharePoint interfaces with SPFx
Intro to AngularJS
ASP.NEt MVC and Angular What a couple
Angular js
Angular js
Building SharePoint Single Page Applications Using AngularJS
End to-End SPA Development Using ASP.NET and AngularJS
AngularJS 1.x - your first application (problems and solutions)
Angular Basics: A Beginner's Guide to Web Development
Sharepoint Apps
Single Page Application
Benefits of developing single page web applications using angular js
SharePoint Framework, Angular and Azure Functions

More from Sparkhound Inc. (20)

PPTX
IT Strategy: Aligning IT and the Business
PPTX
Quality Assurance: What is it and what are the Business Benefits?
PPTX
SQL Server Reporting Services (SSRS) 101
PPTX
Dashboards for Everyone with Microsoft Power BI & Excel
PPTX
Spinning Brown Donuts: Why Storage Still Counts
PPTX
Leveraging SharePoint 2013 Search and CSR
PPTX
Ensuring Quality Mobile Apps with Testing and Crash Reporting
PPTX
Managing Customer Expectations
PPTX
Virtualize All The Things!
PPTX
What is "Next Generation" Analytics? How does it fit with my Business Vision?
PPTX
What is the right SharePoint Cloud Strategy for My Business?
PPTX
Identity Management for Office 365 and Microsoft Azure
PPTX
Integrating the BCS with Search in SharePoint 2013
PPTX
Htf2014 managing share point projects with agile and tfs andy
PPTX
SQL Server Admin Best Practices with DMV's
PPTX
Optimizing Code Reusability for SharePoint using Linq to SharePoint & the MVP...
PPTX
PowerShell Fundamentals for SharePoint
PPTX
Introduction to the SharePoint 2013 REST API
PPTX
Introduction to JSLink in 2013
PPTX
Cross-Platform Mobile Development with PCLs
IT Strategy: Aligning IT and the Business
Quality Assurance: What is it and what are the Business Benefits?
SQL Server Reporting Services (SSRS) 101
Dashboards for Everyone with Microsoft Power BI & Excel
Spinning Brown Donuts: Why Storage Still Counts
Leveraging SharePoint 2013 Search and CSR
Ensuring Quality Mobile Apps with Testing and Crash Reporting
Managing Customer Expectations
Virtualize All The Things!
What is "Next Generation" Analytics? How does it fit with my Business Vision?
What is the right SharePoint Cloud Strategy for My Business?
Identity Management for Office 365 and Microsoft Azure
Integrating the BCS with Search in SharePoint 2013
Htf2014 managing share point projects with agile and tfs andy
SQL Server Admin Best Practices with DMV's
Optimizing Code Reusability for SharePoint using Linq to SharePoint & the MVP...
PowerShell Fundamentals for SharePoint
Introduction to the SharePoint 2013 REST API
Introduction to JSLink in 2013
Cross-Platform Mobile Development with PCLs

Recently uploaded (20)

PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
PDF
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Modernizing your data center with Dell and AMD
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
PDF
Electronic commerce courselecture one. Pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
KodekX | Application Modernization Development
PPTX
Big Data Technologies - Introduction.pptx
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
Omni-Path Integration Expertise Offered by Nor-Tech
PDF
Transforming Manufacturing operations through Intelligent Integrations
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Dropbox Q2 2025 Financial Results & Investor Presentation
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Review of recent advances in non-invasive hemoglobin estimation
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Modernizing your data center with Dell and AMD
“AI and Expert System Decision Support & Business Intelligence Systems”
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
Electronic commerce courselecture one. Pdf
Understanding_Digital_Forensics_Presentation.pptx
KodekX | Application Modernization Development
Big Data Technologies - Introduction.pptx
madgavkar20181017ppt McKinsey Presentation.pdf
Omni-Path Integration Expertise Offered by Nor-Tech
Transforming Manufacturing operations through Intelligent Integrations

Single Page Applications in SharePoint with Angular

Editor's Notes

  • #5: Utilizes Model View Controller design pattern by splitting pages into the following: Models – Data to be displayed on a page. Referred to as $scope in Angular Views – Segments of HTML markup to represent the primary contents of a page. Controllers – Code to initialize the model for a view and respond to actions performed by the user.
  • #9: Before we move any further… here are some key angular terms!
  • #10: Before we move any further… here are some key angular terms!