Business planning ideas from around the internet.Publishing documents on edocr is a proven way to start demand generation for your products and services. Thousands of professionals and businesses publish marketing (brochures, data sheets, press releases, white papers and case studies), sales (slides, price lists and pro-forma agreements), operations (specifications, operating manuals, installation guides), customer service (user manuals) and financial (annual reports and financial statements) documents making it easier for prospects and customers to find content, helping them to make informed decisions. #SEO #leadgen #content #analytics
CS142 Lecture Notes - AngularJS
AngularJS Introduction
Mendel Rosenblum
CS142 Lecture Notes - AngularJS
AngularJS
JavaScript framework for writing web applications
Handles: DOM manipulation, input validation, server communication, URL mangement, etc.
Uses Model-View-Controller pattern
HTML Templating approach with two-way binding
Minimal server-side support dictated
Focus on supporting for programming in the large and single page applications
Modules, reusable components, testing, etc.
Widely used framework (Angular 1 - 2009) with a major rewrite coming out
(Angular 2)
CS142 will use Angular 1
CS142 Lecture Notes - AngularJS
Angular Concepts and Terminology
Template
HTML with additional markup used to describe what should be displayed
Directive
Allows developer to extend HTML with own elements and attributes (reusable pieces)
Scope
Context where the model data is stored so that templates and controllers can access
Compiler
Processes the template to generate HTML for the browser
Data Binding
Syncing of the data between the Scope and the HTML (two ways)
Dependency
Injection
Fetching and setting up all the functionality needed by a component
Module
A container for all the parts of an application
Service
A way of packaging functionality to make it available to any view
CS142 Lecture Notes - AngularJS
Angular Example
<!doctype html>
<html ng-app>
<head>
<script src="./angular.min.js"></script>
</head>
<body>
<div>
<label>Name:</label>
<input type="text" ng-model="yourName" placeholder="Enter a name here">
<h1>Hello {{yourName}}!</h1>
</div>
</body>
</html>
CS142 Lecture Notes - AngularJS
Angular Bootstrap
<!doctype html>
<html ng-app>
<head>
<script src="./angular.min.js"></script>
</head>
<body>
<div>
<label>Name:</label>
<input type="text" ng-model="yourName" placeholder="Enter a name here">
<h1>Hello {{yourName}}!</h1>
</div>
</body>
</html>
Script loads and runs on when browser
signals