Home » Posts tagged "angular 2"

Dynamically Add Components in Angular

This past week, I ran into a need to dynamically add components using Angular.  My specific reason for doing this is that the component I am using is a port of an AngularJS component and so it doesn’t quite conform to the Angular way of doing things.  Specifically, I can’t change input values and have the component respond reliably.  But, regardless of why I need this functionality, or even why you may need this functionality, I think being able to do this at all is pretty cool.

Dynamically Add Components in Angular
Photo via Visualhunt.com

Continue reading “Dynamically Add Components in Angular”

Jedi Angular 2 Tips and Tricks

This week, I thought I’d collect a list of unrelated tricks and tips I’ve learned over the last couple of weeks into one post.  Unless you love to read documentation, or you’ve run into problems that these tips solve, I’m guessing you don’t know most of these.

But first, the big new this week…

Jedi Angular 2 Tips and Tricks
Photo credit: iamkory via Visual Hunt / CC BY

Continue reading “Jedi Angular 2 Tips and Tricks”

3 JavaScript Fallacies You Might Believe

You know, you think the whole world knows something is true until you hear someone people respect say something really dumb.  The three JavaScript fallacies I have here are actual statements I’ve heard over the last week during a discussion about Angular2 and Rect.  What makes these fallacies particularly interesting is that they sound plausible.  In fact, there are time when they are even true.  But in the larger context of a JavaScript application they are nearly always false.

So, here are 3 JavaScript Fallacies you may still believe that you may want to reevaluate.

3 JavaScript Fallacies You Might Believe
Photo credit: bark via VisualHunt / CC BY

Continue reading “3 JavaScript Fallacies You Might Believe”

Secrets to Styling Angular2

This past week, while working on a new project, I discovered some secrets to styling Angular2 that I don’t think are very well known.

There are two specific issues I needed to solve this week that took a bit of digging.  The first was that I wanted my routes to fade in and out as I move between routes.  The second was that I was using a grid control from a third party and I needed to style an inner component.  We will cover both as well as some more basic operations.

Secrets to Styling Angular2
Photo via Visual hunt

Continue reading “Secrets to Styling Angular2”