Use ui router in angular | Steps for adding ui router in angular app | How to use ui-router in angular

ui router

A router is used for linking URL to controller and views. ui router is complete routing framework for angular. ui router use states for routing. A state is a unit of is more comprehensive navigation criteria. ui router use for creating multiple view in  single page applications. 
Key point of ui-router
         1- ui-router use when you switch from one route to another
         2- You can use multiple views in ui-router
         3- You can nested views in ui-router
         4- It can have multiple instances

Read More

How to setup environment for angular 2 with typeScript?

angular 2

In this post, we will setup angular 2 and their dependencies in our machine.
We start with angular 2 with typescript so for angular 2 first we should have little bit knowledge of typescript.


Typescript is a superset of javaScript which primarily provides optional static typing, interfaces, and is the most benefit is to enable IDEs to provide the environment for spotting common errors as you type the code.
It is open source and you only get the much benefit of it if you use supported IDEs.

Read More

How to start with angular 2 ???




Angular is a javascript framework used for creating single page application(spa).  Single page application means we do not need to reload the whole page. it replaces the view content area with another view.
In angular, you also keep the track of history so if a user navigates with back and forward button, we restore the app in right state.
We can build an angular app with modular, maintainable and scalable.

Why angular?

Angular is the leading framework in the space and it’s written for best practice in the future.
It has big community support and maintains by google and according to google trends demand of javascript developer increasing constantly.

Read More

Steps to use highchart with angular | How to get start with highchart in angular

You all deal with data every time but sometimes you want not to see data and see it like graphs, so here we are describing you to show your in  form of graphs very easily from basic setup. Whenever we want to our data in graphical format in angular, we should use angular highcharts.  

  1. Installation

Highcharts can be installed in your project by 3 ways

a. we can install highchart with npm package

npm install highcharts

Read More

What is IoT and how to use IoT?


IoT is a mechanism to transfer message from one machine to other, or we can say that IoT is a  communication between machines.
For an e.g.: -Wristwatches who measure a lot of things and send all the records to your mobile, this machine to machine or device to device communication is IoT.

So, MQTT is the protocol on which it is working. MQTT is MQ telemetry transport which is responsible for transporting message b/w the machine. It’s a protocol which transfers message from one machine to other with very low bandwidth and low strength.

Read More