Skip to content

Commit 78bc58f

Browse files
author
TheHalcyonSavant
committed
ng-app fix
ng-app fix with package as prefix
1 parent 34b6c25 commit 78bc58f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

1820EN_09_Code/02_button_directive/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html ng-app="directives">
2+
<html ng-app="button-directive">
33
<head>
44
<meta charset="utf-8">
55
<title>AngularJS Book - Chapter 9 - Button Directive</title>

1820EN_09_Code/04_validate-equals_directive/directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
angular.module('directives', [])
1+
angular.module('directives.validate-equals', [])
22

33
.directive('validateEquals', function() {
44
return {

1820EN_09_Code/04_validate-equals_directive/directive.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
describe('validateEquals directive', function() {
22
var $scope, modelCtrl, modelValue;
33

4-
beforeEach(module('directives'));
4+
beforeEach(module('directives.validate-equals'));
55

66
beforeEach(inject(function($compile, $rootScope) {
77
$scope = $rootScope;

1820EN_09_Code/04_validate-equals_directive/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html ng-app="directives">
2+
<html ng-app="directives.validate-equals">
33
<head>
44
<meta charset="utf-8">
55
<title>AngularJS Book - Chapter 9 - validateEquals Directive</title>

0 commit comments

Comments
 (0)