Home » Tag Archives: AngularJS

Tag Archives: AngularJS

Debugging Angular 2 Applications from the Console

Learn how to access useful information from your Angular 2 components right from your browser’s console There have been some quite useful articles for how to debug Angular 1.x applications from the browser’s console. But how can we achieve the same in Angular 2? Is there even a way? Let’s see. I always found it quite neat how to debug ...

Read More »

Learning Angular 2 – Conditionally add styles to an element

Here we’re going through a couple of ways to conditionally apply some styles to a DOM element in Angular 2. Directly manipulating styles property A rather unconventional way would be to return the styling property as a string and then to directly set it on the desired element: //our root app component import {Component} from 'angular2/core' @Component({ selector: 'my-app', providers: ...

Read More »

Multi Content Projection aka Multiple Transclusion

How named/multi-slot transclusion works in Angular 2 If you’re an Angular developer, I’m sure you heard about transclusion. Sounds really weird and mysterious, at least that’s what I thought when I first heard it. If you google for it, you’ll probably land on one of Thoughtram’s articles (as you’ll do 90% of the time if you search for Angular articles ...

Read More »

Cross-platform Single Page Applications with ASP.NET 5, Angular 2 & TypeScript

[purchase_link id=”6942″ text=”Download” style=”button” color=”blue”] ASP.NET 5 and Angular 2 are probably the hottest new frameworks in terms of both of them are entirely re-written from scratch. We, as web developers are more than eager to test both of these two super promising frameworks and get ready to build cutting-edge applications. After writing the Building Single Page Applications using Web ...

Read More »

Improve your Angular 1.x startup time

This neat and simple trick originally appeared about a year ago on this blog post, so it’s not something I came up with by myself. Angular’s watcher functions for ng-bind and text nodes () put binding information inside the respective DOM elements using jQuery .data method. This is unfortunately a very expensive operation that impacts both load times and time ...

Read More »

Componentizing Workflow for Angular 2

A possible (mental) workflow to split up your static HTML into components Yesterday I wrote a tweet about how I usually create components. Great workflow for refactoring unwieldy components :-) https://t.co/each4c2cm9 — Kent C. Dodds (@kentcdodds) December 9, 2015 A tweet is quite short, so let’s take a closer look at such workflow in more detail. Also, note that I’m ...

Read More »

Preparing for Angular 2

I’m sure you heard about Angular 2 and that it will be totally different. Forget everything you know and start from scratch . Jokes apart, if you have taken a closer look you already know that, yes, it will be new, things will be different (as it’s mostly the case with new stuff), but many concepts will still be there. ...

Read More »

TypeScript, AngularJS, Gulp and Bower in Visual Studio 2015

Either you are a Back-end Web developer or a Front-end one, you must have realized that there are some frameworks and tools that have gained the poll position in Web application development. Which are these? Go ahead, search and download a client-side library, plugin or package. It’s 100% percentage sure, that you will be prompted to run one of the ...

Read More »

Preparing for Angular 2

I’m sure you heard about Angular 2 and that it will be totally different. Forget everything you know and start from scratch. Jokes apart, if you have taken a closer look you already know that, yes, it will be new, things will be different (as it’s mostly the case with new stuff), but many concepts will still be there. Well, ...

Read More »

Web API File Uploading (Desktop and Web client)

File uploading is one of the most common tasks all developers have to deal with, at some point of their application development cycle. For example, Web applications (such as social networks) usually require users to upload a profile picture during registration or in the case of desktop ones, users may required to upload private documents. This post will show you ...

Read More »