Added angular js and state provider