Php Static Function Get Class Variable Angular