Angularjs Resources
33.3K views | +9 today
Follow
Your new post is loading...
Your new post is loading...
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

Practical Examples of Authentication in Meteor 1.0

Practical Examples of Authentication in Meteor 1.0 | Angularjs Resources | Scoop.it
Learn the basics of implementing your own authentication layer using accounts-base and accounts-password with the JavaScript framework Meteor 1.0...

accounts-base and accounts-ui are awesome packages that happen to make a heap of assumptions about how you're going to reason about your user's authentication and session management using a system called Accounts. That's alright though, because accounts-ui isn't necessarily intended to be the de facto way to provide access to the API of Accounts. It's there to get newcomers started, to help more experienced developers quickly prototype their ideas, and probably only occasionally remain a permanent fixture of the UI.

Here's a look at how we can replace the functionality of accounts-ui with custom behaviours and appearances. 


Via Jan Hesse
more...
No comment yet.
Scooped by Mitch Chen
Scoop.it!

vojtajina/all-templates.html

AngularJS: load all templates in one file - Gist is a simple way to share snippets of text and code with others.
more...
No comment yet.
Scooped by Mitch Chen
Scoop.it!

Pagination in AngularJS for Typekit API – Show More Pagination in AngularJS

more...
No comment yet.
Scooped by Mitch Chen
Scoop.it!

AngularJS Best Practices: I've Been Doing It Wrong! Part 3 of 3

AngularJS Best Practices: I've Been Doing It Wrong! Part 3 of 3 | Angularjs Resources | Scoop.it
Three sanity-preserving ideas that will make me and you 10x more productive with real-world AngularJS applications This is the last in a three-part series on practical large-scale development with ...
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

AngularJS Highlights: Best of 2013

With 2014 set to be the year of AngularJS, now is the time to get up to speed with all the great AngularJS resources from 2013. Only the best have made it onto this list. Here are the top picks for 2013: * Learning AngularJS * Applications with AngularJS * Directives * AngularJS Games * AngularJS Workflow and Testing * AngularJS Books
Via Jan Hesse
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

Inheritance in AngularJS

Inheritance in AngularJS | Angularjs Resources | Scoop.it
Since AngularJS does not provide any built-in features for using inheritance, in this blog post I’ll describe how the general JavaScript inheritance patterns can be applied to AngularJS components. First, lets talk about controllers. Actually it is very unlikely to inherit from parent controller. This is the case because by implementation the scope in the child controller will inherit prototypically from the scope of its parent. So when you need to reuse functionality from the parent controller, all you need to do is add the required methods to the parent scope. By doing this the child controller will have access to all these methods through the prototype of its scope i.e.:...
Via Jan Hesse
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

NgReact.js - React Components in Angular

Facebook's React library is designed to be used as a view component atop other JavaScript frameworks. NgReact is a pair of proof of concept directives that show how React can cooperate with Angular, resulting in performance gains nearly up to 70% (or, well, losses up to 450%).
Via Jan Hesse
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

Backbone or Angular or Ember? Here is my choice and why

Backbone or Angular or Ember? Here is my choice and why | Angularjs Resources | Scoop.it
I’ve spent the last year neck deep in the main MVC / MV* whatever frameworks for Javascript. It was a very hard choice to pick a favorite and stick with it. I started out with Backbone, moved on to Angular and finally settled on Ember. This convoluted process is the reason I haven’t blogged in a few months, I really had to pick what client-side framework to blog about. This is my reasoning...
Via Jan Hesse
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

Testing AngularJS directive templates with Jasmine and Karma

Testing AngularJS directive templates with Jasmine and Karma | Angularjs Resources | Scoop.it
“ In my day job, I work on appear.in, a video chat service built with AngularJS and WebRTC. Recently, our application has become more complex, and our HTML templates ended up having a lot of state in them. We could no longer just use unit testing to verify our application logic, we also needed to test the state in our templates. For our unit testing, we landed on using Jasmine and Karma, and this has worked fairly well for us. So when we wanted to test our templates, we wanted to use the same tools. ”
Via Jan Hesse
more...
No comment yet.
Rescooped by Mitch Chen from Angularjs
Scoop.it!

50 Javascript Tools & Resources from 2013

50 Javascript Tools & Resources from 2013 | Angularjs Resources | Scoop.it
“ Just as we focused on CSS a few days back, today we take a look at 50 of our favorite Javascript resources from 2013. You will notice that this article doe”
Via Juan Antonio Navarro Jiménez
more...
No comment yet.
Scooped by Mitch Chen
Scoop.it!

Return interdependent async promises in $routeProvider resolve

Return interdependent async promises in $routeProvider resolve | Angularjs Resources | Scoop.it
Consider the code:

var myApp = angular.module('myApp', []);


The routes:

myApp.config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/', {
templateUrl:
more...
No comment yet.
Scooped by Mitch Chen
Scoop.it!

AngularJS: Infinite Scrolling - JSFiddle

Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
more...
No comment yet.
Scooped by Mitch Chen
Scoop.it!

Building Pluggable Components in AngularJS

Building Pluggable Components in AngularJS | Angularjs Resources | Scoop.it
Although ng-boilerplate or angular-seed talks about the best-practice directory structure to ensure code re-usability and maximum scalability but sometimes having a separate directory per feature s...
more...
No comment yet.
Scooped by Mitch Chen
Scoop.it!

Enhanced Animation in AngularJS - yearofmoo.com

Enhanced Animation in AngularJS - yearofmoo.com | Angularjs Resources | Scoop.it
Learn how to make even better animations in AngularJS 1.1.5
more...
No comment yet.
Scooped by Mitch Chen
Scoop.it!

Cacomania: A simple AngularJS client side pagination module

Cacodaemon little blog about wired IT stuff like Linux, Prgramming and Web.
more...
No comment yet.
Scooped by Mitch Chen
Scoop.it!

AngularJS: My solution to the ng-repeat performance problem | thierry.nicola

AngularJS: My solution to the ng-repeat performance problem | thierry.nicola | Angularjs Resources | Scoop.it
Performance of ngRepeat can become quickly very bad for rendering long lists or tables. I tried several solutions to tackle the problem and describe my solution that is based on native AngularJS features and available directives.
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

ngDialog.js - Modals and popups provider for Angular.js applications

Modal dialogs and popups provider for Angular.js applications. ngDialog is small (~2Kb), has minimalistic API, highly customizable through themes and has only Angular.js as dependency. ngDialog service provides easy to use and minimalistic API, but in the same time it's powerful enough.
Via Jan Hesse
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

Plans for supporting Web Components in AngularJS and Ember.js

Web Components [1] are an upcoming standard for custom HTML5 user interface elements. Those UI elements will eventually become interchangeable between frameworks. Now the people behind AngularJS and Ember.js have described their plans for supporting Web Components. Below, you’ll see mentions of Google’s new framework, Polymer [1]. It is built directly on top of Web Components. One of Polymer’s goals is to help refine and fully figure out that standard.
Via Jan Hesse
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

JavaScript MV* Shootout!

JavaScript MV* Shootout! | Angularjs Resources | Scoop.it
“ Backbone vs. EmberJS vs. AngularJS.”* "C” in MVC doesn’t exist in many of the new frameworks Backbone has no Controller object to extend; it’s more like an MVP framework where the view does more than displaying data * Angular has controllers and services … MVCS? * Ember has controllers in a more um … classical(?) sense * Backbone as sort of a “control” * Oldest of the three, wildly successful and well-understood * Angular and Ember because they seemed to have the most steam
Via Jan Hesse
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

Votr Part 5: AngularJS and CRUD Using RESTful APIs

Votr Part 5: AngularJS and CRUD Using RESTful APIs | Angularjs Resources | Scoop.it
This is the fifth and final part in a series of blog posts about building a real-time SMS and voice voting application using Node.js. I began working on this application during some downtime at a Startup Weekend event back in the summer of 2012. It was both an excuse to learn Node and build a reusable app for something that my team is often asked to provide at events (SMS voting). Let’s take a moment and recap where we’ve been. In part one, we created the Node application and captured incoming votes over SMS and stored them in a CouchDB. I chose to use Express as the web framework and Cloudant and my CouchDB provider. In part two, we created a real-time visualization of the voting using Socket.io and Highcharts. As votes came in a bar chart depicting the current state of the vote would update in realtime. For my purposes (live SMS voting at events) this was my MVP product. But at larger events I ran into some nasty scaling issues. In part three, we tweaked our app to scale to thousands of votes per second and millions of total votes. This was accomplished by being smarter about how we stored our documents and leveraging CouchDB’s map/reduce capabilities. In part four we began adding an web front-end for admins using AngularJS. We added AngularJS to our project and implemented a login and logout flow. We walked through the process of using CouchDB’s cookie-based authentication scheme to bootstrap a simple log-in process for our app. The last thing for us to do to complete this admin portion of the application is to use AngularJS to create a simple CRUD interface for the events in our CouchDB. We will focus on the AngularJS code and templates that we’re going to write to edit our event documents and finish with a brief run-through of the server-side code.
Via Jan Hesse
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

Inheritance in AngularJS

Inheritance in AngularJS | Angularjs Resources | Scoop.it
Since AngularJS does not provide any built-in features for using inheritance, in this blog post I’ll describe how the general JavaScript inheritance patterns can be applied to AngularJS components. First, lets talk about controllers. Actually it is very unlikely to inherit from parent controller. This is the case because by implementation the scope in the child controller will inherit prototypically from the scope of its parent. So when you need to reuse functionality from the parent controller, all you need to do is add the required methods to the parent scope. By doing this the child controller will have access to all these methods through the prototype of its scope i.e.:...
Via Jan Hesse
more...
No comment yet.
Rescooped by Mitch Chen from JavaScript for Line of Business Applications
Scoop.it!

JavaScript MV* Shootout!

JavaScript MV* Shootout! | Angularjs Resources | Scoop.it
“ Backbone vs. EmberJS vs. AngularJS.”* "C” in MVC doesn’t exist in many of the new frameworks Backbone has no Controller object to extend; it’s more like an MVP framework where the view does more than displaying data * Angular has controllers and services … MVCS? * Ember has controllers in a more um … classical(?) sense * Backbone as sort of a “control” * Oldest of the three, wildly successful and well-understood * Angular and Ember because they seemed to have the most steam
Via Jan Hesse
more...
No comment yet.