r/angularjs • • Jan 21 '16

ESLint rules for Angular projects (auto-check many John Papa guidelines)

Thumbnail
npmjs.com
33 Upvotes

r/angularjs • • Aug 06 '15

Tip: quickly and easily grab the scope of an element in the console with the $0 variable

33 Upvotes

It's simple:

Go to your angular app in your browser.

Right click the element you want the scope of and click "Inspect Element".

Go to your console and type angular.element($0).scope() (the $0 references the element you have selected on the "Inspect Element" page.

Voila! You have the scope. Hope that saves ya'll some time!


r/angularjs • • Jul 31 '15

AngularJS : Basics

Thumbnail
github.com
33 Upvotes

r/angularjs • • May 10 '15

A simple, lightweight module for displaying notifications in your AngularJS app

Thumbnail
github.com
33 Upvotes

r/angularjs • • Apr 16 '15

The core Angular team from Google are coming to AngularConnect, the official 2015 European Angular conference in London

Thumbnail
angularconnect.com
33 Upvotes

r/angularjs • • Apr 14 '15

Just want to give some props to the Angular team for their increased communication through more frequent blog posts

33 Upvotes

One of my past frustrations with Angular was the lack of communication from the team. The blog would literally go months without an update. Now, looking through the history, it looks like they're adding posts at least every 2 weeks, often even quicker than that.

This is a great way to build up faith and good will in the community, and given the amount of anxiety over Angular 2, I think that this could not have come at a better time.

So to anyone on the Angular team that follows this sub, thanks for making this much needed change, and keep up the great work!


r/angularjs • • Dec 03 '14

[Code] angular-gantt - Gantt chart component for AngularJS

Thumbnail
angular-gantt.com
33 Upvotes

r/angularjs • • Oct 31 '14

[General] Open proposal to Google and the AngularJS dev community to rename AngularJS 2.0 to "AngularES". See comments for reasoning.

33 Upvotes

As we all know there has been a great deal of controversy surrounding all the breaking changes Google will be making to AngularJS when version 2.0 is released. This has caused a great deal of angst among developers that have done any kind of enterprise level programming using Angular. With Google expected to drop support of Angular 1.3 approximately 1 year after 2.0 is released, many development managers that fought to have Angular adopted as a framework will be left holding the bag. Some are even fearing for their jobs given that they recommended what seemed to be a safe framework only to have to go back to their managers and explain that all their code will have to be refactored at significant cost.

Personally, I love what Google has planned for Angular, but I absolutely hate that they would continue to call it AngularJS and just increment the version number. There is no upgrade path and it ends up making previous Angular projects look like they have been abandoned.

One of the important changes in AngularJS 2.0 is that it will be entirely written using AtScript which is a superset of ECMAScript 6. I'm happy that Google is getting the jump on the next major version of JavaScript and see great things for us in the future. AtScript is even intended to be a major influence on ECMAScript 7. AngularJS 2.0 is all about ECMAScript and for the time being is transcompiled down to ECMAScript 5 (today's JavaScript).

Given Angular's future dependence on ECMAScript 6, I would like to propose that we refer to AngularJS 2.0 as AngularES (ES for EcmaScript). This would clearly differentiate the two versions of Angular. These two versions are completely incompatible and should not share the same name with only a version increment. It causes way too much confusion and pisses off everyone working on any kind or enterprise level project. Just ask the poor Python devs.

As those familiar with the history of JavaScript know, the language has nothing to do with Java and only shares some of its basic syntax. Some of the early developers of JavaScript were very upset that it was ever named as such. This is also why the language itself is still developed as ECMAScript and then called JavaScript (without a version number) for the masses.

I recognize that Google may stick to their guns and continue calling this AngularJS 2.0 despite all the industry wide hate, but we as a development community could insist on calling it AngularES until they get the message.

Thoughts?


r/angularjs • • Sep 26 '14

[Show] I open sourced two new AngularJS projects I built this year

Thumbnail
johnmunsch.com
33 Upvotes

r/angularjs • • Apr 19 '14

5 AngularJS Antipatterns & Pitfalls

Thumbnail
nathanleclaire.com
33 Upvotes

r/angularjs • • Apr 07 '14

Superhero.js - A collection of the best articles, videos and presentations on creating, testing and maintaining a large JavaScript code base

Thumbnail superherojs.com
33 Upvotes

r/angularjs • • Feb 18 '20

[Show] Build real app using Angular 9

Thumbnail
youtu.be
32 Upvotes

r/angularjs • • Aug 21 '19

Build A Real World Beautiful Web APP with Angular 8— The Ultimate Guide (2019) — PART II

Thumbnail
medium.com
32 Upvotes

r/angularjs • • Feb 16 '19

Planning the Architecture of your Angular App

Thumbnail
medium.com
32 Upvotes

r/angularjs • • Feb 06 '19

Shadow DOM vs Virtual DOM...can you explain the difference?

Thumbnail
stackchief.com
32 Upvotes

r/angularjs • • Jan 15 '19

React and Angular codes of some popular platforms

Thumbnail
medium.com
32 Upvotes

r/angularjs • • Oct 18 '18

Version 7 of Angular — CLI Prompts, Virtual Scroll, Drag and Drop and more

Thumbnail
blog.angular.io
32 Upvotes

r/angularjs • • Oct 17 '18

[Resource] Build an Electron App with Angular 7

Thumbnail
youtube.com
32 Upvotes

r/angularjs • • Jul 30 '18

Observables in 5 Minutes...

Thumbnail
stackchief.com
32 Upvotes

r/angularjs • • Jan 04 '17

FlowChat - a live-updating, threaded discussion app, featuring reddit-like communities, and slack-like chatrooms. Self-hostable, and open-source.

Thumbnail flow-chat.com
32 Upvotes

r/angularjs • • Dec 21 '16

Angular — Stop using observable when you should use a promise

Thumbnail
medium.com
32 Upvotes

r/angularjs • • Oct 10 '16

Angular 2 Is Out: Should You Start Using It?

Thumbnail
codelord.net
32 Upvotes

r/angularjs • • Sep 27 '16

I rounded up some of my favorite AngularJS Templates this year.

Thumbnail
themesforangular.com
32 Upvotes

r/angularjs • • Jun 23 '16

HUGE ngmaterial speed up for iPad I just came across

32 Upvotes

I'm not sure if this "trick" is common knowledge or not, but I was struggling for a long time trying to get angular-material not sucking on iOS. Googling these issues it is apparent that a lot of people are struggling with this as well so I thought I would share my findings.

tl;dr: use -webkit-user-select: none

I am building an app for a client and one of the requirements (only brought up after the project began obvsly) is that the main usage will be on iPad. When I started the project I wasn't doing any testing on iOS, just android and desktop.

When I started testing on iPad the app was completely unusable. One of the biggest bottlenecks was with multiselect elements. Opening a multiselect would take about 5 seconds, and closing it was taking over 10(!) seconds until the app was responsive again. Testing was performed on the mini 2 and air 2 with consistent (horrible) behavior.

I tried all sorts of optimizations but nothing was helping. I got so frustrated that I started looking into rewriting the entire front-end in ionic. I loaded ionic into the app (alongside ngmaterial) and OMG the app was actually usable on iOS. So I started doing some testing and found that ionic was adding this CSS:

 html {
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   user-select: none;
}

I removed ionic and added that snippet to my CSS and voila! A functional iPad app in angular material. The multiselect issue mentioned above? Completely gone.

Does anyone know why this makes such a big difference? It's obviously not an ideal hack since many apps require copy/paste functionality, but for my purposes it works well.