Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

refactor(controller_typescript) use this instead of $scope #1188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ericmdantas
Copy link

No description provided.

@eddiemonge
Copy link
Member

what does this accomplish?

@ericmdantas
Copy link
Author

@eddiemonge it uses the same approach in the non typescript environment, where $scope is not used.


constructor (private $scope: I<%= classedName %>Scope) {
$scope.awesomeThings = [
public awesomeThings: string[] = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be array? not really sure since i havent used TypeScript though

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's an array. Playground link.

@eddiemonge
Copy link
Member

Can you update the commit message to follow the contrib guidelines please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants