how to add google translator in angular js2 : <div class="m-content">
	<h1>My Web Page</h1>

	<p>Hello everybody!</p>
	
	<p>Translate this page:</p>
	
	<div id="google_translate_element"></div>
	<p>You can translate the content of this page by selecting a language in the select box.</p>
</div>
<script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
  <script type="text/javascript">
  function googleTranslateElementInit() {
    new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
    }
</script>