Got angular to refresh sections dynamically