use ng-show to show the warning and use expresion to mark the order list
add error handler on client
wrap angular in (function () {  ...  })();
wrap angular in (function () {  ...  })();