htmlspecialchars() function should be used for security reason to echo values from any variable.
But htmlspecialchars() doe's not work for arrays so following function would...
Required steps to perform this:
You should have root access to terminal.
Server: Ubuntu 14
LAMP should be installed.
Run this command: cat /etc/motd.tail
Configuration:
$locationProvider
.html5Mode(true);
.htaccess file in root directory:
RewriteEngine On
# If an existing asset or directory is requested go to it as it is
...