Sharing Top Content from the Angular-sphere.

Codeacademy AngularJS Suggestion Box project. • r/angularjs

The comment box portion is not appearing in the view. Please point out any inaccuracies you see. Thank you. index.html
@Beepop_Agency: Codeacademy AngularJS Suggestion Box project.:

The comment box portion is not appearing in the view. Please point out any inaccuracies you see. Thank you.

app.js var app = angular.module(“SuggestionBox”, [“ngRoute”]);

app.config(function ($routeProvider){ $routeProvider .when(‘/home’, { controller: “HomeController”, templateUrl: “views/home.html” }) .when(‘/suggestion/:id’, { controller: “SuggestionController”, templateUrl: “views/suggestion.html” }) .otherwise({ redirectTo: “/home” }) })

suggestion.html

{{comment.body}}

Upvotes: {{comment.upvotes}}

Submit Your Comment

Codeacademy AngularJS Suggestion Box project. • r/angularjs

Comments are closed, but trackbacks and pingbacks are open.