GithubHelp home page GithubHelp logo

planetoftheweb / angular2 Goto Github PK

View Code? Open in Web Editor NEW
92.0 25.0 99.0 2.05 MB

This is the repository for my course, Learn AngularJS2: The Basics. NOTE: There's a new version of this repo for the final release of Angular2.

Home Page: https://github.com/planetoftheweb/learnangular

CSS 32.19% HTML 13.70% JavaScript 9.94% TypeScript 44.17%

angular2's Introduction

Learn AngularJS2: The Basics

NOTE: THere's a new repo for this course which covers the final release of AngularJS2. https://github.com/planetoftheweb/learnangular

Learn AngularJS2: The Basics This is the repository for my course, Learn AngularJS2: The Basics. The full course is available at lynda.com.

Course Description

Learn AngularJS 2, the second edition of the "superheroic" JavaScript framework. Redesigned from the ground up by Google, AngularJS 2 provides advanced features for building single-page applications: declarative templates, two-way data binding, TypeScript support, and dependency injection. And instead of the controllers typical of MVC architecture, AngularJS 2 now offers components. It's a great update, suitable for mobile and web developers alike.

In these tutorials, I show you how to start using AngularJS 2 in your own projects. I start by defining what exactly Angular 2 is and how it differs from AngularJS 1. Then, once the basics are out of the way, he sets up the template that will drive the project and starts coding. I show how to divide your project into modules, work with events, style content with CSS, and create components and subcomponents. Plus, find out how to change content dynamically using data pipes.

The template is included as a free download for all members. Topics include: What is AngularJS 2? Setting up our template Creating a simple component Using multiple modules Displaying data in our templates Working with events Creating a subcomponent Filtering content through data pipes

Instructions

This repository has branches for each of the videos in the course. You can use the branch pop up menu in github to switch to a specific branch and take a look at the course at that stage. Or you can simply add /tree/BRANCH_NAME to the URL to go to the branch you want to peek at.

  1. Make sure you have these installed
  2. Clone this repository into your local machine using the terminal (mac) or Gitbash (PC) > git clone https://github.com/planetoftheweb/angular2.git
  3. CD to the folder cd angular2
  4. Run > npm install to install the project dependencies
  5. Install gulp.js via the Mac terminal or Gitbash on a PC > npm install -g gulp
  6. Run the Gulp command > gulp
  7. Fire up your browser at http://localhost:8080

For more help setting up a comprehensive Gulp.js workflow, check out Web Project Workflows with Gulp.js, Git, and Browserify.

More Stuff

Check out some of my other courses on lynda.com. You can also check out my youtube channel, follow me on twitter, or read my blog.

angular2's People

Contributors

planetoftheweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular2's Issues

Suggestion: Simplify video about getting the samples

In your video you suggest to use bare repository which in my opinion is unnecessary.
To get remote branches it's enough to execute:

git branch -a

Then when using git checkout 02_08b, it will automatically setup upstream branch if found.
Nothing major. Just though that step was unnecessarily complicated.

Only explanation that i can think of is that in old versions of git, upstream is not setup automatically. But again, it will only be required if someone want's to push back changes.

Another useful thing to mention is to use

git fetch 

to update list of branches and tags.

Following Lynda Course : Learn AngularJS 2: The Basics

ZohaibTariq@hp MINGW64 /d/javascript/angular2
$ git clone --bare https://github.com/planetoftheweb/angular2.git
Cloning into bare repository 'angular2.git'...
remote: Counting objects: 243, done.
remote: Total 243 (delta 0), reused 0 (delta 0), pack-reused 242
Receiving objects: 100% (243/243), 2.04 MiB | 260.00 KiB/s, done.
Resolving deltas: 100% (84/84), done.
Checking connectivity... done.

ZohaibTariq@hp MINGW64 /d/javascript/angular2
$ git config --bool core.bare false
fatal: not in a git directory

ZohaibTariq@hp MINGW64 /d/javascript/angular2
$ ls
angular2.git/

ZohaibTariq@hp MINGW64 /d/javascript/angular2
$ git config --bool core.bare false
fatal: not in a git directory

ZohaibTariq@hp MINGW64 /d/javascript/angular2
$ ls
angular2.git/

ZohaibTariq@hp MINGW64 /d/javascript/angular2
$

How to resolve this issue ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.