locked
How to create master page with header and footer seperate for angular js application using mvc5 or webform RRS feed

  • Question

  • User-471420332 posted

    How to create master page with header and footer seperate for angular js application using mvc5 or webform

    I am very new to angular js some buddy told me angular is reduce loading issue.. i want to build my angulars js website using asp.net

    Tuesday, December 4, 2018 10:40 AM

Answers

  • User475983607 posted

    I am talking about angular js? not angular

    mazhar khan india, there's documentation for the now old-school AngualrJs too;  https://angularjs.org/

    Headers and footers are generally static HTML layouts.  Can you explain the problem you having writing HTML?  At the very least have you gone through the AngualrJS tutorial as it will answer you question...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, December 4, 2018 12:36 PM
  • User61956409 posted

    Hi mazhar khan,

    AngularJS is a very powerful JavaScript Framework that enable us to use HTML as template language and extend HTML with new attributes.

    Both MVC(view) and WebForm(web page) support using html and JavaScript, if you want to implement common functionality/content in master page for your AngularJS front-end web application, you can add  AngularJS library first in your master page with a script tag and implement custom functionality based on your requirements.

    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>

    You can know and get started with AngularJS from AngularJS documentation.

    With Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 5, 2018 6:11 AM

All replies

  • User475983607 posted

    i want to build my angulars website using asp.net

    The Angular development documents can be found at the following link; https://angular.io/docs

    Visual Studio comes with an Angular template which includes a layout with header and footer if you need help with HTML.

    https://docs.microsoft.com/en-us/aspnet/core/client-side/spa/?view=aspnetcore-2.1

    Tuesday, December 4, 2018 11:42 AM
  • User-471420332 posted

    I am talking about angular js? not angular

    Tuesday, December 4, 2018 12:25 PM
  • User475983607 posted

    I am talking about angular js? not angular

    mazhar khan india, there's documentation for the now old-school AngualrJs too;  https://angularjs.org/

    Headers and footers are generally static HTML layouts.  Can you explain the problem you having writing HTML?  At the very least have you gone through the AngualrJS tutorial as it will answer you question...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, December 4, 2018 12:36 PM
  • User61956409 posted

    Hi mazhar khan,

    AngularJS is a very powerful JavaScript Framework that enable us to use HTML as template language and extend HTML with new attributes.

    Both MVC(view) and WebForm(web page) support using html and JavaScript, if you want to implement common functionality/content in master page for your AngularJS front-end web application, you can add  AngularJS library first in your master page with a script tag and implement custom functionality based on your requirements.

    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>

    You can know and get started with AngularJS from AngularJS documentation.

    With Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 5, 2018 6:11 AM