Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
directive long snippet reviewed
Browse files Browse the repository at this point in the history
  • Loading branch information
erkobridee committed Jan 7, 2015
1 parent 1baaee1 commit 5b4cb45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ function $1($2) {
restrict: 'EA$6',
scope: scope,

controller: controllerFn,
controller: ControllerFn,
controllerAs: 'vm$7',
// So our isolated scope will be stored
// on the `this` context of our controller
Expand All @@ -1430,9 +1430,9 @@ function $1($2) {

//---

// controllerFn.\$inject = [];
// ControllerFn.\$inject = [];

function controllerFn() {
function ControllerFn() {
var vm = this;$0

vm.min = 3;
Expand Down
6 changes: 3 additions & 3 deletions snippets/angularjs/directiveLong.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function $1($2) {
restrict: 'EA$6',
scope: scope,
controller: controllerFn,
controller: ControllerFn,
controllerAs: 'vm$7',
// So our isolated scope will be stored
// on the `this` context of our controller
Expand All @@ -36,9 +36,9 @@ function $1($2) {
//---
// controllerFn.\$inject = [];
// ControllerFn.\$inject = [];
function controllerFn() {
function ControllerFn() {
var vm = this;$0
vm.min = 3;
Expand Down

0 comments on commit 5b4cb45

Please sign in to comment.