Use cookie to run servey one time in a browser.

Source code: Survey setup
Survey.defaultBootstrapCss.navigationButton = "btn btn-primary";
Survey.Survey.cssType = "bootstrap";
var survey = new Survey.Model({ cookieName: "myuniquesurveyid",
    questions: [
    { type: "checkbox", name: "car", title: "What car are you driving?", isRequired: true, 
     colCount: 4, choices: ["None", "Ford", "Vauxhall", "Volkswagen", "Nissan", "Audi", "Mercedes-Benz", "BMW", "Peugeot", "Toyota", "Citroen"] }

function onAngularComponentInit() {
    Survey.SurveyNG.render("surveyElement", {model:survey});
var HelloApp =
            selector: 'ng-app',
            template: '<div id="surveyContainer" class="survey-container contentcontainer codecontainer">' +
            '<div id="surveyElement"></div></div>'
            constructor: function() {
            ngOnInit: function() {
document.addEventListener('DOMContentLoaded', function() {

Set the cookieName in the survey JSON to the unique id, for example surveyId, to run the survey one time.