Display error and success text

When an error occurs changing the password, display the
appropriate error message. On a successful password change
also display text.

Resolves openbmc/openbmc#2741
Resolves openbmc/openbmc#2969

Tested: Made all these errors show and also changed the password
on a Witherspoon.
Change-Id: I9808df9888175de988ecb0781023424315a1ec53
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/users/controllers/user-accounts-controller.html b/app/users/controllers/user-accounts-controller.html
index 80b6c7d..49d79a8 100644
--- a/app/users/controllers/user-accounts-controller.html
+++ b/app/users/controllers/user-accounts-controller.html
@@ -37,6 +37,10 @@
 			<div class="user-manage__submit-wrapper">
 			<button class="btn-primary inline" ng-click="changePassword(oldPassword, password, passwordVerify)">Save change</button>
 			</div>
+			<p ng-class="'change-password__' + state"  role="alert">
+				{{state === 'error' ? errorMsg : ''}}
+				{{state === 'success' ? 'Success! User Password has been changed!' : ''}}
+			</p>
 		</form>
 	</section>
 </div>