curran / curran/screencasts

Initializing model using a Global function doesn't seem to work for me?

Open
#14 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.6k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

What is going wrong here ?

```


AngulasJS Demo3


function nameController($scope){
$scope.firstname = 'John';
$scope.lastname = 'Smith';
}

First Name :




Last Name :




Hello {{ firstname }} {{lastname}}

```

![demo](https://cloud.githubusercontent.com/assets/5767039/12885471/3b7862fc-ce8c-11e5-8505-708f0e7bf9fa.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.