Skip to content

Commit 864a223

Browse files
committed
Added some console messages to test every thing it's woring fine on IE
1 parent 7af8a97 commit 864a223

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/app/footer/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<a href="https://topsolution.it" target="_blank">
1+
<a href="https://topsolution.it" target="_blank" title="Top Solution srl">
22
<img src="../../images/top_solution_logo.png">
33
</a>

src/app/hello/hello.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export const hello = {
22
template: require('./hello.html'),
3-
controller() {
3+
/** @ngInject */
4+
controller($log) {
45
this.tools = [
56
{name: 'AngularJS', href: 'https://angularjs.org', image: 'https://raw.githubusercontent.com/angular/angular.js/master/images/logo/AngularJS.exports/AngularJS-medium.png'},
67
{name: 'webpack', href: 'https://webpack.js.org/', image: 'https://raw.githubusercontent.com/webpack/media/master/logo/icon.png'},
@@ -10,5 +11,10 @@ export const hello = {
1011
{name: 'Angular UI Router', href: 'https://ui-router.github.io/', image: 'https://ui-router.github.io/images/logos/ui-router.svg'},
1112
{name: 'Sass', href: 'http://sass-lang.com/', image: 'http://sass-lang.com/assets/img/logos/logo-b6e1ef6e.svg'}
1213
];
14+
15+
$log.info('We\'re using these tools:');
16+
this.tools.forEach(tool => {
17+
$log.info(` - ${tool.name}`);
18+
});
1319
}
1420
};

0 commit comments

Comments
 (0)