Problems with mo.js library implementations of certain SVG properties

I am trying to use the framework mo.js in an Angular project (version 8 ).

So far, everything has been working pretty good, except for one thing : some svg properties of the forms are not correctly understood by angular, which causes it to ignore them and abandon the declaration. It’s worth noticing that this problem is encountered only in an angular project. “Analyse error for 'stroke-dashoffset. Declaration abandonned”. (sorry for the language).

This situation occured when I try to animate the property “strokeDashArray”.

Here is the Mo.js portion of code that generates the error. Again, this only happens in an angular project : I’m almost sure that everything is clean here.

    var upperSquare = new mojs.Shape({
      parent: "#upperSquare",
      shape:          'rect',
      fill:           'none',
      stroke:         '#FFFFFF',
      strokeWidth:    5,
      strokeDasharray: '100%',
      strokeDashoffset: { '-100%' : '100%' },
      strokeLinecap: 'butt',
      radius:         50,
      duration:       11000,
      opacity: '0.3',
      y: {'800px':'250px'},
      angle: { [-0]: 360 },
      easing: 'linear.none',
      points: 4
    })
    .then({
      strokeDashoffset: { '-100%' : '100%' },
      duration:       4000,
      easing: 'linear.none',
      angle:      { [-0]: 180 },
      y: {'250px':'100px'}
    })
    .then({
        strokeDashoffset: { '-100%' : '100%' },
        duration:       4000,
        angle:      { [-0]: 180 },
        easing: 'linear.none',
        y: {'100px':'-250px'},
        onComplete (isForward, isYoyo){
          upperSquare.replay()
        }
    })
    .play()

Weirdly enough, the animation works just exactly as expected. However, if I open the web dev tools on Firefox, the whole thing crashes, because the terminal is flooded with error messages like the one shown above.

If anyone had been through the same problem in the past, I’m all ears. Thanks for having took the time to read.