Form error not displayed using $error, $invalid

Issue I’m trying to replicate an example in ng-book jsbin. Here is my plnkr app.js var app = angular.module(‘plunker’, []); app.controller(‘MainCtrl’, function($scope) { $scope.fields = [{placeholder: ‘Email’, isRequired: true}, {placeholder: ‘Password’, isRequired: true}, {placeholder: ‘Comment(Optional)’, isRequired: false}] $scope.formSubmit = function(){

Continue reading