Take the following steps to setup a new Angular project on Cloud9
nvm use 6.10.0
nvm alias default v6.10.0
| function super_json_decode($json, &$value, $assoc = false, $depth = 512, $options = 0) { | |
| $pValue = false; | |
| $result = json_decode($json, $assoc, $depth); | |
| if(json_last_error() == JSON_ERROR_NONE) { | |
| $pValue = $result; | |
| return true; | |
| } | |
| return false; | |
| } |