I am developing angular 2 SPA .. I ask for compatibility between angular 2 and AMP and how to implement it. Thanks,
No, JavaScript code not provided by the AMP project may not be on your AMP page. Although, depending on what you are doing, you can use <amp-iframe>
<amp-iframe>
This can become very relevant in the near future, when the universal becomes more mature. It can be used to create a static version of your AMP version.